diff options
| author | Liron Kuch <lkuch@codeaurora.org> | 2015-11-25 14:14:09 +0200 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:12:31 -0700 |
| commit | 13d7f53b31543bed87452f50d0fccdf422af0638 (patch) | |
| tree | b6607e3717245ebdea85feb3e5962246877eb471 | |
| parent | fbf1d2a65afed0c7212830d7254a008e153692d8 (diff) | |
ARM: dts: apq: Add USB OTG support for APQ8096 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.
Additionally, remove USB PHY initialization which causes USB PHY PLL
lock failure.
Change-Id: I8d7bc23e7c730174fb8f9f6c52dc4f5e02a0ec6e
Signed-off-by: Liron Kuch <lkuch@codeaurora.org>
| -rw-r--r-- | arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi b/arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi index 4f4f20020c6d..79af62efc7d4 100644 --- a/arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi +++ b/arch/arm/boot/dts/qcom/apq8096-dragonboard.dtsi @@ -389,15 +389,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"; @@ -423,19 +416,6 @@ status = "ok"; }; -&qusb_phy0 { - qcom,qusb-phy-init-seq = <0xF8 0x80 - 0x63 0x84 - 0x83 0x88 - 0xC5 0x8C - 0x30 0x08 - 0x79 0x0C - 0x21 0x10 - 0x14 0x9C - 0x9F 0x1C - 0x00 0x18>; -}; - &qusb_phy1 { status = "ok"; }; |
