arm64: dts: rockchip: Set pwm pin default pull setting when used for 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: Ibb1cbb5f5371d7838783264e23d5160c0757aaa6
Signed-off-by: David Wu <david.wu@rock-chips.com>
This commit is contained in:
David Wu
2018-05-04 17:30:14 +08:00
committed by Tao Huang
parent 016e8545af
commit 99c28b5be0
11 changed files with 30 additions and 0 deletions

View File

@@ -929,6 +929,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&pwm3 {

View File

@@ -348,4 +348,6 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};

View File

@@ -144,6 +144,8 @@
&pwm3 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm3a_pin_pull_down>;
};
&sdhci {

View File

@@ -931,6 +931,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&rkvdec {

View File

@@ -639,6 +639,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&saradc {

View File

@@ -919,6 +919,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&saradc {

View File

@@ -730,6 +730,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&pwm3 {

View File

@@ -508,6 +508,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&saradc {

View File

@@ -802,6 +802,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;v
};
&rk_key {

View File

@@ -891,6 +891,8 @@
&pwm2 {
status = "okay";
pinctrl-names = "active";
pinctrl-0 = <&pwm2_pin_pull_down>;
};
&route_edp {

View File

@@ -2990,6 +2990,11 @@
rockchip,pins =
<0 RK_PA6 RK_FUNC_1 &pcfg_pull_none>;
};
pwm3a_pin_pull_down: pwm3a-pin-pull-down {
rockchip,pins =
<0 RK_PA6 RK_FUNC_1 &pcfg_pull_down>;
};
};
pwm3b {
@@ -2997,6 +3002,11 @@
rockchip,pins =
<1 RK_PB6 RK_FUNC_1 &pcfg_pull_none>;
};
pwm3b_pin_pull_down: pwm3b-pin-pull-down {
rockchip,pins =
<1 RK_PB6 RK_FUNC_1 &pcfg_pull_down>;
};
};
hdmi {