Skip to contentSkip to conversation

ARM: dts: sun4i: Enable otg in host only mode on Jesurun Q5

PATCH New Hans de Goede 2 participants 2 messages Aug 4, 2015 – Aug 16, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun4i: Enable otg in host only mode on Jesurun Q5

The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode.

---
 arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts +15 -0
index dc2f2ae..7afc7a6 100644
@@ -156,6 +156,10 @@
 	status = "okay";
 };
 
+&otg_sram {
+	status = "okay";
+};
+
 &pio {
 	emac_power_pin_q5: emac_power_pin at 0 {
 		allwinner,pins = "PH19";
@@ -172,6 +176,11 @@
 	};
 };
 
+&reg_usb0_vbus {
+	regulator-boot-on;
+	status = "okay";
+};
+
 &reg_usb1_vbus {
 	status = "okay";
 };
@@ -186,7 +195,13 @@
 	status = "okay";
 };
 
+&usb_otg {
+	dr_mode = "host";
+	status = "okay";
+};
+
 &usbphy {
+	usb0_vbus-supply = <&reg_usb0_vbus>;
 	usb1_vbus-supply = <&reg_usb1_vbus>;
 	usb2_vbus-supply = <&reg_usb2_vbus>;
 	status = "okay";
Signature · 1 line
2.4.3
#1 lore raw

PATCH 1/1 ARM: dts: sun4i: Enable otg in host only mode on Jesurun Q5

1;3803;0c

Quoted 4 lines · Hans de Goede

The Jesurun Q5 has the musb hooked up to an usb-a receptacle, enable it in host-only mode.

Queued, thanks!

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150816/19c257b1/attachment-0001.sig>