devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] ARM: sun8i: a83t: Add USB host support
@ 2017-08-03  8:14 Chen-Yu Tsai
       [not found] ` <20170803081411.22389-1-wens-jdAy2FN1RRM@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Chen-Yu Tsai @ 2017-08-03  8:14 UTC (permalink / raw)
  To: Kishon Vijay Abraham I, Maxime Ripard, Rob Herring, Mark Rutland
  Cc: Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw

Hi everyone,

This series enables USB host support for the Allwinner A83T SoC.
The A83T's USB OTG PHY uses different controls. The USB 2.0 host
PHYs are the same as previous chips. And the HSIC part is actually
used on some boards.

The external bits needed for proper USB OTG support is not there
yet, namely the regulators and power supplies for VBUS sensing and
control. This will be enabled later on. However the OTG controller
is the same as the one found in previous chips. This has been tested
under U-boot.

Patch 1 adds some properties that were missing for the H3. The H3
has 4 USB host controllers, so there are also 4 USB host PHYs. The
properies for the last one were missing.

Patch 2 adds a compatible string for the A83T USB PHY block.

Patch 3 adds support for a secondary clock for the HSIC PHY. The
HSIC block takes a 480MHz clock and a 12MHz clock. All known chips
only have at most 1 HSIC capable host/PHY.

Patch 4 adds support for the A83T's USB PHYs. The difference is
mainly how the OTG PHY (PHY0) is configured.

Patch 5 adds the device nodes for the USB PHY and hosts.

Patch 6 adds the device node for the USB OTG controller.

Patch 7 enables the USB hosts and peripherals on the Cubietruck Plus.

Patch 8 enables the USB hosts and peripherals on the H8Homlet v2.

The first four patches would go through linux-phy, while I will
take the other four through the sunxi tree. For those who want
to test this, the series is based on my previous "ARM: sun8i: a83t:
Add support for MMC controllers v3" and "mfd: axp20x: Add basic
support for AXP813 v2" series.


Regards
ChenYu

Chen-Yu Tsai (8):
  dt-bindings: phy: sun4i-usb-phy: Add property descriptions for H3
  dt-bindings: phy: sun4i-usb-phy: Add compatible string for A83T
  phy: sun4i-usb: Support secondary clock for HSIC PHY
  phy: sun4i-usb: Support A83T USB PHYs
  ARM: sun8i: a83t: Add USB PHY and host device nodes
  ARM: sun8i: a83t: Add device node for USB OTG controller
  ARM: sun8i: a83t: cubietruck-plus: Enable onboard USB peripherals
  ARM: sun8i: a83t: h8homlet-v2: Enable USB ports

 .../devicetree/bindings/phy/sun4i-usb-phy.txt      | 10 ++-
 .../boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts  | 29 ++++++++
 arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts   | 49 ++++++++++--
 arch/arm/boot/dts/sun8i-a83t.dtsi                  | 76 +++++++++++++++++++
 drivers/phy/allwinner/phy-sun4i-usb.c              | 87 +++++++++++++++++++---
 5 files changed, 232 insertions(+), 19 deletions(-)

-- 
2.13.3

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

end of thread, other threads:[~2017-08-19  2:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03  8:14 [PATCH 0/8] ARM: sun8i: a83t: Add USB host support Chen-Yu Tsai
     [not found] ` <20170803081411.22389-1-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-03  8:14   ` [PATCH 1/8] dt-bindings: phy: sun4i-usb-phy: Add property descriptions for H3 Chen-Yu Tsai
     [not found]     ` <20170803081411.22389-2-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-08 12:16       ` 'Kishon Vijay Abraham I' via linux-sunxi
2017-08-10 17:08       ` Rob Herring
2017-08-17 17:05         ` Chen-Yu Tsai
     [not found]           ` <CAGb2v65mKdQC40ASsmeWqCxnDWV4mmf9QFo5-t7spX9RRJBdbg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-18 10:53             ` 'Kishon Vijay Abraham I' via linux-sunxi
     [not found]               ` <7a1889e0-6733-3f7d-4b34-b08e8bf3e2b5-l0cyMroinI0@public.gmane.org>
2017-08-19  2:34                 ` Chen-Yu Tsai
2017-08-03  8:14   ` [PATCH 2/8] dt-bindings: phy: sun4i-usb-phy: Add compatible string for A83T Chen-Yu Tsai
     [not found]     ` <20170803081411.22389-3-wens-jdAy2FN1RRM@public.gmane.org>
2017-08-10 17:09       ` Rob Herring
2017-08-03  8:14   ` [PATCH 3/8] phy: sun4i-usb: Support secondary clock for HSIC PHY Chen-Yu Tsai
2017-08-03  8:14   ` [PATCH 4/8] phy: sun4i-usb: Support A83T USB PHYs Chen-Yu Tsai
2017-08-03  8:14   ` [PATCH 5/8] ARM: sun8i: a83t: Add USB PHY and host device nodes Chen-Yu Tsai
2017-08-03  8:14   ` [PATCH 6/8] ARM: sun8i: a83t: Add device node for USB OTG controller Chen-Yu Tsai
2017-08-03  8:14   ` [PATCH 7/8] ARM: sun8i: a83t: cubietruck-plus: Enable onboard USB peripherals Chen-Yu Tsai
2017-08-03  8:14   ` [PATCH 8/8] ARM: sun8i: a83t: h8homlet-v2: Enable USB ports Chen-Yu Tsai
2017-08-19  2:41   ` [PATCH 0/8] ARM: sun8i: a83t: Add USB host support Chen-Yu Tsai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).