Skip to contentSkip to conversation

ARM: sun8i: sina33: Enable USB gadget

PATCH New Maxime Ripard 1 participant 2 messages Nov 4, 2016 – Nov 14, 2016

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

PATCH 1/1 ARM: sun8i: sina33: Enable USB gadget

The micro-USB on the SinA33 has a somewhat interesting design in the sense that it has a micro USB connector, but the VBUS is (supposed to be) controlled through an (unpopulated) jumper.

Obviously, that doesn't work really well, and only the peripheral mode really works. Still enable it.

---
 arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts +5 -0
index fa8024072025..1c0d98cbd334 100644
@@ -247,6 +247,11 @@
 	status = "okay";
 };
 
+&usb_otg {
+	dr_mode = "peripheral";
+	status = "okay";
+};
+
 &usbphy {
 	status = "okay";
 	usb1_vbus-supply = <&reg_vcc5v0>; /* USB1 VBUS is always on */
Signature · 1 line
2.10.1
author Applied
#1 lore raw

PATCH 1/1 ARM: sun8i: sina33: Enable USB gadget

Quoted 8 lines · Maxime Ripard

The micro-USB on the SinA33 has a somewhat interesting design in the sense that it has a micro USB connector, but the VBUS is (supposed to be) controlled through an (unpopulated) jumper.

Obviously, that doesn't work really well, and only the peripheral mode really works. Still enable it.

Applied.

Maxime

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