All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND 1/2] dt: bindings: add allwinner,otg-routed property for phy-sun4i-usb
@ 2016-10-25  4:11 ` Icenowy Zheng
  0 siblings, 0 replies; 18+ messages in thread
From: Icenowy Zheng @ 2016-10-25  4:11 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Kishon Vijay Abraham I,
	Hans de Goede
  Cc: Mark Rutland, Reinder de Haan, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Icenowy Zheng

On some newer Allwinner SoCs (H3 or A64), the PHY0 can be either routed to
the MUSB controller (which is an OTG controller) or the OHCI/EHCI pair
(which is a Host-only controller, but more stable and easy to implement).

This property marks whether on a certain board which controller should be
attached to the PHY.

Signed-off-by: Icenowy Zheng <icenowy-ymACFijhrKM@public.gmane.org>
---
 Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
index 287150d..a63c766 100644
--- a/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
+++ b/Documentation/devicetree/bindings/phy/sun4i-usb-phy.txt
@@ -36,6 +36,12 @@ Optional properties:
 - usb1_vbus-supply : regulator phandle for controller usb1 vbus
 - usb2_vbus-supply : regulator phandle for controller usb2 vbus
 
+Optional properties for H3 or A64 SoCs:
+- allwinner,otg-routed : USB0 (OTG) PHY is routed to OHCI/EHCI pair rather than
+			 MUSB. (boolean, if this property is set, the OHCI/EHCI
+			 controllers at PHY0 should be enabled and the MUSB
+			 controller must *NOT* be enabled)
+
 Example:
 	usbphy: phy@0x01c13400 {
 		#phy-cells = <1>;
-- 
2.10.1

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-10-28 18:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25  4:11 [PATCH RESEND 1/2] dt: bindings: add allwinner,otg-routed property for phy-sun4i-usb Icenowy Zheng
2016-10-25  4:11 ` [PATCH RESEND 1/2] dt: bindings: add allwinner, otg-routed " Icenowy Zheng
     [not found] ` <20161025041139.46454-1-icenowy-ymACFijhrKM@public.gmane.org>
2016-10-25  4:11   ` [PATCH RESEND 2/2] phy-sun4i-usb: add support for host mode of phy0 on A64 SoC Icenowy Zheng
2016-10-25  4:11     ` Icenowy Zheng
2016-10-25  7:18 ` [PATCH RESEND 1/2] dt: bindings: add allwinner,otg-routed property for phy-sun4i-usb Maxime Ripard
2016-10-25  7:18   ` Maxime Ripard
2016-10-25  7:18   ` Maxime Ripard
2016-10-26  8:28 ` [linux-sunxi] " Hans de Goede
2016-10-26  8:28   ` Hans de Goede
2016-10-26  8:28   ` Hans de Goede
     [not found]   ` <55fe59fc-6e93-d519-2d7c-264c48820fc4-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-10-26  8:52     ` Icenowy Zheng
2016-10-26  8:52       ` [linux-sunxi] [PATCH RESEND 1/2] dt: bindings: add allwinner, otg-routed " Icenowy Zheng
2016-10-26 10:14       ` [linux-sunxi] [PATCH RESEND 1/2] dt: bindings: add allwinner,otg-routed " Hans de Goede
2016-10-26 10:14         ` Hans de Goede
2016-10-26 10:14         ` Hans de Goede
2016-10-28 18:13         ` [linux-sunxi] " Hans de Goede
2016-10-28 18:13           ` Hans de Goede
2016-10-28 18:13           ` Hans de Goede

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.