[PATCH 0/8] ARM: sun8i: a83t: Add USB host support

Chen-Yu Tsai wens at csie.org
Fri Aug 18 19:41:23 PDT 2017


On Thu, Aug 3, 2017 at 4:14 PM, Chen-Yu Tsai <wens at csie.org> wrote:
> 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

Applied the device tree patches.

ChenYu



More information about the linux-arm-kernel mailing list