mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ARM: dts: rk3066a-rayeager: add vdd_logic regulator
The vdd_logic is a pwm regulator. Since '#pwm-cells = <2>', there is not polarity invert support by pwm driver, so we have to add property 'pwm-dutycycle-range = <100 0>' to support polarity invert by pwm regulator driver itself. Change-Id: Ie5d2cda67ce19dc792f96263836bab658d385681 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
@@ -23,6 +23,20 @@
|
||||
pinctrl-0 = <&ir_int>;
|
||||
};
|
||||
|
||||
vdd_logic: vdd-logic {
|
||||
compatible = "pwm-regulator";
|
||||
|
||||
pwms = <&pwm3 0 25000>;
|
||||
pwm-dutycycle-range = <100 0>;
|
||||
|
||||
regulator-name = "vdd_logic";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
regulator-min-microvolt = <925000>;
|
||||
regulator-max-microvolt = <1400000>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
keys: gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user