All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Enable USB OTG on Allwinner H3 and two boards
@ 2017-01-16 19:14 ` Icenowy Zheng
  0 siblings, 0 replies; 39+ messages in thread
From: Icenowy Zheng @ 2017-01-16 19:14 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Kishon Vijay Abraham I,
	Greg Kroah-Hartman, Bin Liu
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw, Icenowy Zheng

This patchset depends on the following patch (only the patch, as it adds the
MUSB controller used in H3, the patchset itself is for V3s):
http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/476387.html

This patchset enables USB OTG ports on Orange Pi Zero and One board, using the
SoC's MUSB controller.

The mode of PHY0 is currently set to MUSB mode, as supporting EHCI/OHCI will
cost more time and code; but MUSB can supply both host and peripheral mode.

OTG function is only enabled for these two boards, as they're the only H3/H2+
boards that I have.

I think other boards' owners can easily enable their boards' OTG function with
these patches.

Icenowy Zheng (4):
  phy: sun4i-usb: support PHY0 on H3 in MUSB mode
  ARM: dts: sun8i: add MUSB node to H3 SoC
  ARM: dts: sun8i: enable USB OTG for Orange Pi Zero board
  ARM: dts: sun8i: enable USB OTG on Orange Pi One board

 arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts |  6 ++++++
 arch/arm/boot/dts/sun8i-h3-orangepi-one.dts       | 12 +++++++++++
 arch/arm/boot/dts/sun8i-h3.dtsi                   | 13 ++++++++++++
 drivers/phy/phy-sun4i-usb.c                       | 25 ++++++++---------------
 4 files changed, 40 insertions(+), 16 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-01-22  9:58 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-16 19:14 [PATCH 0/4] Enable USB OTG on Allwinner H3 and two boards Icenowy Zheng
2017-01-16 19:14 ` Icenowy Zheng
     [not found] ` <20170116191449.50397-1-icenowy-ymACFijhrKM@public.gmane.org>
2017-01-16 19:14   ` [PATCH 1/4] phy: sun4i-usb: support PHY0 on H3 in MUSB mode Icenowy Zheng
2017-01-16 19:14     ` Icenowy Zheng
2017-01-16 22:57     ` [linux-sunxi] " Ondřej Jirman
2017-01-16 22:57       ` Ondřej Jirman
2017-01-16 22:57       ` Ondřej Jirman
2017-01-17  8:06     ` Maxime Ripard
2017-01-17  8:06       ` Maxime Ripard
2017-01-17  8:06       ` Maxime Ripard
2017-01-17 16:57       ` Icenowy Zheng
2017-01-17 16:57         ` Icenowy Zheng
2017-01-17 20:06         ` Maxime Ripard
2017-01-17 20:06           ` Maxime Ripard
2017-01-17 20:06           ` Maxime Ripard
2017-01-17 20:09           ` Chen-Yu Tsai
2017-01-17 20:09             ` Chen-Yu Tsai
2017-01-17 20:09             ` Chen-Yu Tsai
2017-01-19 14:34             ` Maxime Ripard
2017-01-19 14:34               ` Maxime Ripard
2017-01-19 14:34               ` Maxime Ripard
2017-01-19 15:10               ` Icenowy Zheng
2017-01-19 15:10                 ` Icenowy Zheng
2017-01-19 20:27                 ` [linux-sunxi] " Karsten Merker
2017-01-19 20:27                   ` Karsten Merker
2017-01-20  8:04                   ` [linux-sunxi] " Hans de Goede
2017-01-20  8:04                     ` Hans de Goede
2017-01-20  8:04                     ` Hans de Goede
     [not found]                     ` <93a01892-47b5-5445-d802-f56bdac8371f-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-01-22  9:39                       ` Icenowy Zheng
2017-01-22  9:39                         ` [linux-sunxi] " Icenowy Zheng
2017-01-22  9:58                         ` Hans de Goede
2017-01-22  9:58                           ` Hans de Goede
2017-01-22  9:58                           ` Hans de Goede
2017-01-16 19:14   ` [PATCH 2/4] ARM: dts: sun8i: add MUSB node to H3 SoC Icenowy Zheng
2017-01-16 19:14     ` Icenowy Zheng
2017-01-16 19:14   ` [PATCH 3/4] ARM: dts: sun8i: enable USB OTG for Orange Pi Zero board Icenowy Zheng
2017-01-16 19:14     ` Icenowy Zheng
2017-01-16 19:14   ` [PATCH 4/4] ARM: dts: sun8i: enable USB OTG on Orange Pi One board Icenowy Zheng
2017-01-16 19:14     ` Icenowy Zheng

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.