Skip to content

Commit 806ee30

Browse files
committed
arm64: boot: dts: qcom: msm8939-asus-z00t: add USB-OTG gpio
This device has GPIO 121 set as its OTG gpio. This commit adds a pin configuration node to an existing USB extcon for it.
1 parent be25789 commit 806ee30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/arm64/boot/dts/qcom/msm8939-asus-z00t.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323

2424
battery: battery {
2525
compatible = "simple-battery";
26+
2627
device-chemistry = "lithium-ion-polymer";
2728
voltage-min-design-microvolt = <3400000>;
2829
voltage-max-design-microvolt = <4400000>;
2930
constant-charge-voltage-max-microvolt = <4400000>;
3031
constant-charge-current-max-microamp = <2000000>;
31-
charge-term-current-microamp = <80000>;
3232
energy-full-design-microwatt-hours = <11500000>;
3333
charge-full-design-microamp-hours = <3000000>;
34+
charge-term-current-microamp = <80000>;
3435
operating-range-celsius = <10 65>;
3536

3637
ocv-capacity-celsius = <(-20) 0 25 40 60>;
@@ -132,7 +133,7 @@
132133
usb_id: usb-id {
133134
compatible = "linux,extcon-usb-gpio";
134135
id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>;
135-
pinctrl-0 = <&usb_id_default>;
136+
pinctrl-0 = <&usb_id_default>, <&usb_id_switch_default>;
136137
pinctrl-names = "default";
137138
};
138139
};

0 commit comments

Comments
 (0)