* [PATCH] ARM: dts: omap4-droid4: Configure EHCI so modems can be accessed
@ 2017-03-15 0:40 Tony Lindgren
[not found] ` <20170315004033.28852-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Tony Lindgren @ 2017-03-15 0:40 UTC (permalink / raw)
To: linux-omap-u79uwXL29TY76Z2rM5mHXA
Cc: Benoît Cousson, devicetree-u79uwXL29TY76Z2rM5mHXA,
Marcel Partap, Michael Scott, Sebastian Reichel
Droid 4 has two modems, mdm6600 and w3glte. Both are on the HCI USB
controller.
Let's add a configuration for the HCI so the modems can be enabled.
Note that the modems still need GPIO based configuration that can
be done with the test-d4-echi shell script I've posted to:
http://muru.com/linux/d4/test-d4-ehci
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Marcel Partap <mpartap-hi6Y0CQ0nG0@public.gmane.org>
Cc: Michael Scott <michael.scott-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Signed-off-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
---
arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts
--- a/arch/arm/boot/dts/omap4-droid4-xt894.dts
+++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts
@@ -71,6 +71,11 @@
regulator-always-on;
};
+ /* HS USB Host PHY on PORT 1 */
+ hsusb1_phy: hsusb1_phy {
+ compatible = "usb-nop-xceiv";
+ };
+
/* LCD regulator from sw5 source */
lcd_regulator: regulator-lcd {
compatible = "regulator-fixed";
@@ -475,6 +480,15 @@
&omap4_pmx_core 0x17c>;
};
+&usbhsehci {
+ phys = <&hsusb1_phy>;
+};
+
+&usbhshost {
+ port1-mode = "ohci-phy-4pin-dpdm";
+ port2-mode = "ehci-tll";
+};
+
/* Internal UTMI+ PHY used for OTG, CPCAP ULPI PHY for detection and charger */
&usb_otg_hs {
interface-type = <1>;
--
2.11.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <20170315004033.28852-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>]
* Re: [PATCH] ARM: dts: omap4-droid4: Configure EHCI so modems can be accessed [not found] ` <20170315004033.28852-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> @ 2017-03-19 5:31 ` Sebastian Reichel 0 siblings, 0 replies; 2+ messages in thread From: Sebastian Reichel @ 2017-03-19 5:31 UTC (permalink / raw) To: Tony Lindgren Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, Benoît Cousson, devicetree-u79uwXL29TY76Z2rM5mHXA, Marcel Partap, Michael Scott [-- Attachment #1: Type: text/plain, Size: 2068 bytes --] Hi, On Tue, Mar 14, 2017 at 05:40:33PM -0700, Tony Lindgren wrote: > Droid 4 has two modems, mdm6600 and w3glte. Both are on the HCI USB > controller. > > Let's add a configuration for the HCI so the modems can be enabled. > > Note that the modems still need GPIO based configuration that can > be done with the test-d4-echi shell script I've posted to: > > http://muru.com/linux/d4/test-d4-ehci > > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: Marcel Partap <mpartap-hi6Y0CQ0nG0@public.gmane.org> > Cc: Michael Scott <michael.scott-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> > Cc: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > Signed-off-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> Tested-by: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- Sebastian > --- > arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm/boot/dts/omap4-droid4-xt894.dts b/arch/arm/boot/dts/omap4-droid4-xt894.dts > --- a/arch/arm/boot/dts/omap4-droid4-xt894.dts > +++ b/arch/arm/boot/dts/omap4-droid4-xt894.dts > @@ -71,6 +71,11 @@ > regulator-always-on; > }; > > + /* HS USB Host PHY on PORT 1 */ > + hsusb1_phy: hsusb1_phy { > + compatible = "usb-nop-xceiv"; > + }; > + > /* LCD regulator from sw5 source */ > lcd_regulator: regulator-lcd { > compatible = "regulator-fixed"; > @@ -475,6 +480,15 @@ > &omap4_pmx_core 0x17c>; > }; > > +&usbhsehci { > + phys = <&hsusb1_phy>; > +}; > + > +&usbhshost { > + port1-mode = "ohci-phy-4pin-dpdm"; > + port2-mode = "ehci-tll"; > +}; > + > /* Internal UTMI+ PHY used for OTG, CPCAP ULPI PHY for detection and charger */ > &usb_otg_hs { > interface-type = <1>; > -- > 2.11.1 > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-19 5:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-15 0:40 [PATCH] ARM: dts: omap4-droid4: Configure EHCI so modems can be accessed Tony Lindgren
[not found] ` <20170315004033.28852-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-03-19 5:31 ` Sebastian Reichel
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox