mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
rhodec: modify sgm7220 en pin config in evb dts
For rhodec phone,evb the sgm7220 en pin is control by gpio58, after evb,the sgm7220 en pin is connected to ground,so no need to config gpio58 to pull down the sgm7220 en pin.so modify the sgm7220 en pin config in evb dts Change-Id: Ie351d675272d6cc7c2fe1d6a3719deab39f1b9bf Signed-off-by: liubaolin <liubaolin@wingtech.com> Reviewed-on: https://gerrit.mot.com/2141090 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Lu Chai <chailu1@motorola.com> Reviewed-by: Yuecai Liu <liuyc20@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: panyq6 <panyq6@motorola.com>
This commit is contained in:
parent
1cc719f4d6
commit
53ee2c650c
2 changed files with 21 additions and 17 deletions
|
|
@ -127,26 +127,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
&sgm7220 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sgm7220_int_n &sgm7220_en_n>;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
|
||||
sgm7220_en_n: sgm7220_en_n {
|
||||
mux {
|
||||
pins = "gpio58";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio58";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-pull-down;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
chg_irq_default: chg_irq_default {
|
||||
/* IRQ */
|
||||
mux {
|
||||
|
|
|
|||
|
|
@ -22,3 +22,24 @@
|
|||
qcom,board-id = <0x47 0x9000>;
|
||||
};
|
||||
|
||||
|
||||
&sgm7220 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sgm7220_int_n &sgm7220_en_n>;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
|
||||
sgm7220_en_n: sgm7220_en_n {
|
||||
mux {
|
||||
pins = "gpio58";
|
||||
function = "gpio";
|
||||
};
|
||||
config {
|
||||
pins = "gpio58";
|
||||
drive-strength = <2>; /* 2 MA */
|
||||
bias-pull-down;
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue