ARM: dts: msm: Configure OTG_VBUS_EN GPIO for msm8992 MTP and CDP

PMI8994 GPIO 5 controls the USB3OTG_VBUS_EN, which is needed for
the OVP circuitry. Configure it as output gpio for the required
operation.

Change-Id: Ibbda84a082ab364951f5a7c56b3f911703121483
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
Subbaraman Narayanamurthy 2014-11-24 17:47:23 -08:00
parent ba6ee8cfbe
commit 3362af5247
2 changed files with 22 additions and 0 deletions

View file

@ -100,6 +100,17 @@
};
};
&pmi8994_gpios {
gpio@c400 { /* GPIO 5 OTG SWITCH EN */
qcom,mode = <1>; /* DIGITAL OUT */
qcom,pull = <5>; /* No Pull */
qcom,vin-sel = <2>; /* 1.8 */
qcom,src-sel = <0>; /* GPIO */
qcom,master-en = <1>; /* ENABLE GPIO */
status = "okay";
};
};
&i2c_2 {
synaptics@20 {
compatible = "synaptics,dsx";

View file

@ -109,6 +109,17 @@
};
};
&pmi8994_gpios {
gpio@c400 { /* GPIO 5 OTG SWITCH EN */
qcom,mode = <1>; /* DIGITAL OUT */
qcom,pull = <5>; /* No Pull */
qcom,vin-sel = <2>; /* 1.8 */
qcom,src-sel = <0>; /* GPIO */
qcom,master-en = <1>; /* ENABLE GPIO */
status = "okay";
};
};
&i2c_2 {
synaptics@20 {
compatible = "synaptics,dsx";