[U-Boot] [PATCH 00/16] sun50i: a64: add support for axp803, musb

Chen-Yu Tsai wens at csie.org
Tue Dec 12 08:17:01 UTC 2017


Hi,

On Tue, Dec 12, 2017 at 2:58 PM, Jagan Teki <jagan at amarulasolutions.com> wrote:
> This series deals axp803, musb and related improvements on a64
> - axp803 PMIC support used by a64
> - a64 musb improvements (rework by Philipp [1])
> - musb support for bananapi-m64, a64-olinuxino
>
> [1] https://patchwork.ozlabs.org/patch/729246/
>
> Jagan Teki (11):
>   power: sunxi: add AXP803 PMIC support
>   sunxi: adjust usb bases between H3_H5 vs a64
>   musb-new: sunxi: add common SUNXI_MUSB_BASE
>   sunxi: usb_phy: Update a64 sunxi_usb_phy base
>   arm64: allwinner: sync bananapi-m64 usb nodes from Linux
>   configs: sun50i: add usb-otg support for bananapi-m64
>   configs: sun50i: enable ums on bananapi-m64
>   arm64: allwinner: sync a64-olinuxino usb nodes from Linux
>   configs: sun50i: add usb-otg support for a64-olinuxino
>   configs: sun50i: enable ums on a64-olinuxino
>   configs: sun50i: Enable eMMC on a64-olinuxino
>
> Philipp Tomsich (5):
>   sunxi (sun50i): Set CONFIG_SUNXI_USB_PHYS to 2 (the A64 has 2 PHYs)
>   musb-new: sunxi: a64: add support to select shared phy
>   musb-new: sunxi: a64: adds support for clearing the SIDDP
>   usb: sunxi: set up usb_phy_passby only for HCI
>   sunxi: clock: update a64 usb clock gating and module reset bits

FYI I've been working on getting OTG working for the H3. There are
quite a few similar things to change, which is where my musb patch
came from.

Alas I haven't been able to get it working in peripheral mode yet.
I do have EHCI0/OHCI0 working for host mode though.

ChenYu

>
>  arch/arm/dts/sun50i-a64-bananapi-m64.dts      |  27 +++
>  arch/arm/dts/sun50i-a64-olinuxino.dts         |  19 ++
>  arch/arm/include/asm/arch-sunxi/clock_sun6i.h |  16 +-
>  arch/arm/include/asm/arch-sunxi/cpu_sun4i.h   |   6 +
>  arch/arm/include/asm/arch-sunxi/usb_phy.h     |   2 +
>  arch/arm/mach-sunxi/Makefile                  |   9 +
>  arch/arm/mach-sunxi/pmic_bus.c                |   9 +-
>  arch/arm/mach-sunxi/rsb.c                     |   2 +-
>  arch/arm/mach-sunxi/usb_phy.c                 |  24 ++-
>  board/sunxi/board.c                           |  40 ++++
>  configs/a64-olinuxino_defconfig               |   6 +
>  configs/bananapi_m64_defconfig                |   4 +
>  drivers/power/Kconfig                         |  95 +++++++---
>  drivers/power/Makefile                        |   3 +
>  drivers/power/axp803.c                        | 260 ++++++++++++++++++++++++++
>  drivers/usb/host/ehci-sunxi.c                 |  10 +
>  drivers/usb/host/ohci-sunxi.c                 |  10 +
>  drivers/usb/musb-new/musb_regs.h              |   3 +-
>  drivers/usb/musb-new/sunxi.c                  |  24 ++-
>  include/axp803.h                              |  68 +++++++
>  include/axp_pmic.h                            |   4 +
>  include/configs/sun50i.h                      |   2 +-
>  22 files changed, 598 insertions(+), 45 deletions(-)
>  create mode 100644 drivers/power/axp803.c
>  create mode 100644 include/axp803.h
>
> --
> 2.7.4
>


More information about the U-Boot mailing list