Skip to contentSkip to conversation

ARM: dts: omap4-droid4: Configure EHCI so modems can be accessed

PATCH In review Tony Lindgren 2 participants 2 messages Mar 15, 2017 – Mar 19, 2017 1 message not in the archive Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: omap4-droid4: Configure EHCI so modems can be accessed

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 Marcel Partap <[email protected]>
Cc Michael Scott <[email protected]>
Cc Sebastian Reichel <[email protected]>
---
 arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/omap4-droid4-xt894.dts +14 -0
@@ -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>;
Signature · 5 lines
2.11.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive

Hi,

Quoted 8 lines · Tony Lindgren

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:

Quoted 7 lines

http://muru.com/linux/d4/test-d4-ehci

Cc Marcel Partap <[email protected]>
Cc Michael Scott <[email protected]>
Cc Sebastian Reichel <[email protected]>

-- Sebastian

Quoted 41 lines
---
 arch/arm/boot/dts/omap4-droid4-xt894.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/omap4-droid4-xt894.dts +14 -0
@@ -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>;
Signature · 5 lines
2.11.1
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html