[U-Boot] [PATCH v3 00/30] musb: sunxi: Add OTG-Peripheral support for Allwineer H3/H5/A64

Jagan Teki jagannadh.teki at gmail.com
Sun Jan 28 16:19:21 UTC 2018


This is rework of previous A64 musb[1] and H3 musb series
with OTG Peripheral support for Allwineer H3/H5/A64.
Will submit another series on host support since A64 need AXP PMIC.

Series start with Jun Nie H3 musb changes followed by H5 and A64 musb changes.

All changes available at u-boot-sunxi/otg-peripheral branch.

[1] https://patchwork.ozlabs.org/cover/847375/

thanks!
Jagan.

Chen-Yu Tsai (2):
  sunxi: Fix USB PHY index for H3/H5/A64
  sunxi: usb_phy: setup USB PHY passby for USB0 on H3/H5/A64

Jagan Teki (23):
  sunxi: usb_phy: Clear PHYCTL register before writing
  ARM: dts: sun8i-h3: bananapi-m2-plus: Sync usb otg nodes from Linux
  configs: bananapi-m2-plus: Enable USB OTG peripheral mode
  configs: sun50i: Drop CONFIG_USB_MAX_CONTROLLER_COUNT
  msub: sunxi: Update proper fifo config for H5
  configs: sun50i: Set proper USB PHY count for H5
  sunxi: usb_phy: Fix phy_config to handle all SOC's
  musb: sunxi: Add phy0 dual route support
  arm64: allwinner: h5: orangepi-pc2: Order nodes in alphabetic
  sunxi: arm64: Increase u-boot size on MMC environment
  sunxi: Add uENV partition on gpt partition table
  arm64: allwinner: h5: orangepi-pc2: Sync usb otg nodes from Linux
  configs: orangepi-pc2: Enable USB OTG peripheral mode
  arm64: allwinner: h5: orangepi-prime: Sync usb otg nodes from Linux
  configs: orangepi-prime: Enable USB OTG peripheral mode
  sunxi: clock: Fix clock gating for A64
  configs: sun50i: Set proper USB PHY count for A64
  musb: sunxi: Add support for A64
  sunxi: usb_phy: Clear SIDDP for A64
  arm64: allwinner: a64: bananapi-m64: Sync usb_otg node from Linux
  configs: bananapi-m64: Enable USB OTG peripheral mode
  arm64: allwinner: a64: olinuxino: Sync usb_otg from Linux
  configs: a64-olinuxino: Enable USB OTG peripheral mode

Jun Nie (5):
  sunxi: h3: Sync OTG and HCI nodes from Linux DT
  sunxi: musb: Add fifo config for H3
  sunxi: musb: Hack dynamic fifo support for H3 OTG
  sunxi: musb: Enable OTG device clock for H3
  sunxi: H3: set different otg base address per mode

 arch/arm/dts/sun50i-a64-bananapi-m64.dts      | 10 ++++
 arch/arm/dts/sun50i-a64-olinuxino.dts         |  5 ++
 arch/arm/dts/sun50i-h5-orangepi-pc2.dts       | 54 +++++++++++++--------
 arch/arm/dts/sun50i-h5-orangepi-prime.dts     | 13 +++++
 arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts    | 13 +++++
 arch/arm/dts/sun8i-h3.dtsi                    | 32 +++++++++++++
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 37 ++++++++-------
 arch/arm/include/asm/arch-sunxi/cpu_sun4i.h   |  4 ++
 arch/arm/include/asm/arch-sunxi/usb_phy.h     |  1 +
 arch/arm/mach-sunxi/usb_phy.c                 | 68 ++++++++++++++++++---------
 configs/Sinovoip_BPI_M2_Plus_defconfig        |  1 +
 configs/a64-olinuxino_defconfig               |  1 +
 configs/bananapi_m64_defconfig                |  1 +
 configs/orangepi_pc2_defconfig                |  1 +
 configs/orangepi_prime_defconfig              |  1 +
 drivers/usb/host/ehci-sunxi.c                 |  9 +++-
 drivers/usb/host/ohci-sunxi.c                 |  9 +++-
 drivers/usb/musb-new/musb_regs.h              |  3 +-
 drivers/usb/musb-new/sunxi.c                  | 47 ++++++++++++++++++
 env/Kconfig                                   |  3 +-
 include/configs/sun50i.h                      |  7 ++-
 include/configs/sunxi-common.h                |  3 +-
 22 files changed, 258 insertions(+), 65 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list