Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb028043 authored by Ajit Khare's avatar Ajit Khare Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: apq: Add USB OTG support for APQ8096 Auto DragonBoard



USB OTG mode depends on USB ID detection performed by the PMIC driver.
APQ8096 DragonBoard SOMs use either a PMI8994 or a PMI8996 component.
In PMI8994, USB ID detection is based on an interrupt handled by the
qpnp-smbcharger driver, so the pmi8994_charger device tree node
must be enabled.

In PMI8996, pmi8994_fg device needs to be enabled as well, as the charger
USB ID detection is not connected to any interrupt, but handled by the
qpnp-fg driver.

Change-Id: I1ff5855125587c069ae4cbf223ff2e4668363e60
Signed-off-by: default avatarAjit Khare <ajitk@codeaurora.org>
parent 9da4ddc1
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -393,15 +393,8 @@
	};
};

&pmi8994_fg {
	status = "disabled";
};

&pmi8994_charger {
	status = "disabled";
};

&usb_otg_switch {
	/delete-property/ vin-supply;
	gpio = <&pm8994_gpios 11 0>;
	enable-active-high;
	status = "ok";