* [PATCH] device-tree: nexus7: Set phy mode to otg instead of host
@ 2016-07-02 5:33 John Stultz
2016-07-09 0:11 ` John Stultz
2016-07-12 18:36 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: John Stultz @ 2016-07-02 5:33 UTC (permalink / raw)
To: lkml
Cc: John Stultz, Rob Herring, Andy Gross, Bjorn Andersson,
Stephen Boyd, linux-arm-msm, devicetree
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>
---
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
index 7b05f07..94e9cbb 100644
--- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
+++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
@@ -253,6 +253,7 @@
vddcx-supply = <&pm8921_s3>;
v3p3-supply = <&pm8921_l3>;
v1p8-supply = <&pm8921_l4>;
+ dr_mode = "otg";
};
gadget@12500000 {
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] device-tree: nexus7: Set phy mode to otg instead of host
2016-07-02 5:33 [PATCH] device-tree: nexus7: Set phy mode to otg instead of host John Stultz
@ 2016-07-09 0:11 ` John Stultz
2016-07-12 18:36 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: John Stultz @ 2016-07-09 0:11 UTC (permalink / raw)
To: lkml
Cc: John Stultz, Rob Herring, Andy Gross, Bjorn Andersson,
Stephen Boyd, linux-arm-msm@vger.kernel.org, devicetree
On Fri, Jul 1, 2016 at 10:33 PM, John Stultz <john.stultz@linaro.org> wrote:
> 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.
Ping?
thanks
-john
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] device-tree: nexus7: Set phy mode to otg instead of host
2016-07-02 5:33 [PATCH] device-tree: nexus7: Set phy mode to otg instead of host John Stultz
2016-07-09 0:11 ` John Stultz
@ 2016-07-12 18:36 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2016-07-12 18:36 UTC (permalink / raw)
To: John Stultz
Cc: lkml, Rob Herring, Andy Gross, Stephen Boyd, linux-arm-msm,
devicetree
On Fri 01 Jul 22:33 PDT 2016, John Stultz wrote:
> 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>
> ---
> arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> index 7b05f07..94e9cbb 100644
> --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts
> @@ -253,6 +253,7 @@
> vddcx-supply = <&pm8921_s3>;
> v3p3-supply = <&pm8921_l3>;
> v1p8-supply = <&pm8921_l4>;
> + dr_mode = "otg";
Wouldn't this be the standard case for the first/primary USB on most
8064s? Looks like both the ifc6410 and sd600eval has OTG support on the
micro-usb.
Andy, how about we just change the dtsi instead?
Regards,
Bjorn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-12 18:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-02 5:33 [PATCH] device-tree: nexus7: Set phy mode to otg instead of host John Stultz
2016-07-09 0:11 ` John Stultz
2016-07-12 18:36 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).