summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399.dtsi
diff options
context:
space:
mode:
authorDavid Wu <david.wu@rock-chips.com>2018-05-04 17:30:14 +0800
committerTao Huang <huangtao@rock-chips.com>2018-05-07 14:52:01 +0800
commit7e0f993c89113500144f8b68ed96dd160f37487e (patch)
treec57bb335508a0be0b9decd3a7addbb580db827c3 /arch/arm64/boot/dts/rockchip/rk3399.dtsi
parentcda34cc0e4936c3767058aab725d7a511d16946c (diff)
dts: rockchip: Set pwm pin pull down when used for negative pwm regulator
As a second global reset, the GRF is not reset, the iomux and pull of PWM pin is still keeping, but PWM controller is reset, PWM pin goes into input mode. However, the pull is still none changed in kernel, which can cause voltage problems, so should always keep the PWM pin pull down mode, with 0~50 μA power increase. Change-Id: Ibbb9465f7c550d49d416bc3438c5199434df6eba Signed-off-by: David Wu <david.wu@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 84f38ab45019..eccccd847fe7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -2801,6 +2801,11 @@
<4 18 RK_FUNC_1 &pcfg_pull_none>;
};
+ pwm0_pin_pull_down: pwm0-pin-pull-down {
+ rockchip,pins =
+ <4 18 RK_FUNC_1 &pcfg_pull_down>;
+ };
+
vop0_pwm_pin: vop0-pwm-pin {
rockchip,pins =
<4 18 RK_FUNC_2 &pcfg_pull_none>;
@@ -2817,6 +2822,11 @@
rockchip,pins =
<4 22 RK_FUNC_1 &pcfg_pull_none>;
};
+
+ pwm1_pin_pull_down: pwm1-pin-pull-down {
+ rockchip,pins =
+ <4 22 RK_FUNC_1 &pcfg_pull_down>;
+ };
};
pwm2 {
@@ -2824,6 +2834,11 @@
rockchip,pins =
<1 19 RK_FUNC_1 &pcfg_pull_none>;
};
+
+ pwm2_pin_pull_down: pwm2-pin-pull-down {
+ rockchip,pins =
+ <1 19 RK_FUNC_1 &pcfg_pull_down>;
+ };
};
pwm3a {
@@ -2831,6 +2846,11 @@
rockchip,pins =
<0 6 RK_FUNC_1 &pcfg_pull_none>;
};
+
+ pwm3a_pin_pull_down: pwm3a-pin-pull-down {
+ rockchip,pins =
+ <0 6 RK_FUNC_1 &pcfg_pull_down>;
+ };
};
pwm3b {
@@ -2838,6 +2858,11 @@
rockchip,pins =
<1 14 RK_FUNC_1 &pcfg_pull_none>;
};
+
+ pwm3b_pin_pull_down: pwm3b-pin-pull-down {
+ rockchip,pins =
+ <1 14 RK_FUNC_1 &pcfg_pull_down>;
+ };
};
edp {