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:
Joseph Chen
2017-11-04 14:31:48 +08:00
committed by Tao Huang
parent cbc7fae477
commit f9781a3fb2

View File

@@ -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";