Skip to content

Commit

Permalink
device-tree: nexus7: Set phy mode to otg instead of host
Browse files Browse the repository at this point in the history
In order to have the usb phy work in gadget mode, override
the default host mode with otg mode.

This allows gadget mode to work w/o any hacks to the dtsi file.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Andy Gross <agross@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
  • Loading branch information
John Stultz authored and Andy Gross committed Aug 24, 2016
1 parent 29b4817 commit ec5200b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@
vddcx-supply = <&pm8921_s3>;
v3p3-supply = <&pm8921_l3>;
v1p8-supply = <&pm8921_l4>;
dr_mode = "otg";
};

gadget@12500000 {
Expand Down

0 comments on commit ec5200b

Please sign in to comment.