Skip to content

ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

Chen-Yu Tsai u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not definedinclude/configs/sunxi-common.h+7 -11 reply
1/7ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined+0 -02 replies
1/7ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined+0 -00 replies
2/7ARM: sun6i: Add base address for the new controllers in A31arch/arm/include/asm/arch-sunxi/cpu.h+9 -01 reply
3/7ARM: sun6i: Add support for the new power control module found on the A31arch/arm/cpu/armv7/sunxi/Makefile arch/arm/cpu/armv7/sunxi/prcm.c arch/arm/include/asm/arch-sunxi/prcm.h+276 -01 reply
3/7ARM: sun6i: Add support for the new power control module found on the A31+0 -01 reply
4/7ARM: sun6i: Add clock supportarch/arm/cpu/armv7/sunxi/Makefile arch/arm/cpu/armv7/sunxi/clock_sun6i.c arch/arm/include/asm/arch-sunxi/clock.h +1 more+317 -01 reply
4/7ARM: sun6i: Add clock support+0 -05 replies
4/7ARM: sun6i: Add clock support+0 -00 replies
5/7ARM: sunxi-mmc: Add mmc support for sun6i / A31arch/arm/include/asm/arch-sunxi/mmc.h drivers/mmc/sunxi_mmc.c+9 -21 reply
5/7ARM: sunxi-mmc: Add mmc support for sun6i / A31+0 -00 replies
5/7ARM: sunxi-mmc: Add mmc support for sun6i / A31+0 -01 reply
5/7ARM: sunxi-mmc: Add mmc support for sun6i / A31+0 -01 reply
6/7ARM: sun6i: Setup the A31 UART0 muxingarch/arm/cpu/armv7/sunxi/board.c+4 -02 replies
6/7ARM: sun6i: Setup the A31 UART0 muxing+0 -00 replies
7/7ARM: sunxi: Add basic A31 supportarch/arm/Kconfig arch/arm/cpu/armv7/sunxi/cpu_info.c board/sunxi/Kconfig +2 more+44 -12 replies
7/7ARM: sunxi: Add basic A31 support+0 -00 replies

Reviews trailers per patch

6 of 17 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/7A-b
1/7A-b
1/7A-b
2/7A-b
3/7
3/7
4/7
4/7
4/7
5/7
5/7
5/7
5/7
6/7A-b
6/7A-b
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

Hi everyone,

This series add basic support for Allwinner's A31 SoC. The patches, excluding the first one, were cherry-picked from u-boot-sunxi. Due to the difference between u-boot mainline and u-boot-sunxi, some patches were rearranged or squashed to better fit the current state of u-boot, and not introduce any build breaks. It follows Ian's initial merge method of sun7i support: introducing various components first, then enabling them in the last commit. I tried to keep the commits separate, thus retaining the original author and Signed-off-bys.

Patch 1 adds a wrapper around "func(USB, usb, 0)" in BOOT_TARGET_DEVICES to deal with breakage when USB support is not enabled.

Patch 2 adds memory addresses for some hardware blocks new in sun6i.

Patch 3 adds support for the new PRCM (power reset and clock management) block, which also contains PLL bias voltage control.

Patch 4 adds support for the clock module. This patch is a bunch of different sun6i related patches on the clock code, from when sun6i support was introduced to u-boot-sunxi, up to its current form. This is done to avoid various conflicts and needlessly introducing then removing macros.

Patch 5 adds mmc support on sun6i.

Patch 6 adds uart0 muxing on sun6i.

Patch 7 enables sun6i support and adds defconfig for the Colombus board.

Cheers
ChenYu

Chen-Yu Tsai (2):
ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined
ARM: sun6i: Add clock support

Hans de Goede (1):
ARM: sunxi-mmc: Add mmc support for sun6i / A31

Maxime Ripard (2):
ARM: sun6i: Setup the A31 UART0 muxing
ARM: sunxi: Add basic A31 support

Oliver Schinagl (2):
ARM: sun6i: Add base address for the new controllers in A31
ARM: sun6i: Add support for the new power control module found on the

    A31
 arch/arm/Kconfig                              |   3 +
 arch/arm/cpu/armv7/sunxi/Makefile             |   2 +
 arch/arm/cpu/armv7/sunxi/board.c              |   4 +
 arch/arm/cpu/armv7/sunxi/clock_sun6i.c        | 107 ++++++++++++
 arch/arm/cpu/armv7/sunxi/cpu_info.c           |   2 +
 arch/arm/cpu/armv7/sunxi/prcm.c               |  37 ++++
 arch/arm/include/asm/arch-sunxi/clock.h       |   4 +
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 205 ++++++++++++++++++++++
 arch/arm/include/asm/arch-sunxi/cpu.h         |   9 +
 arch/arm/include/asm/arch-sunxi/mmc.h         |   2 -
 arch/arm/include/asm/arch-sunxi/prcm.h        | 238 ++++++++++++++++++++++++++
 board/sunxi/Kconfig                           |  10 +-
 configs/Colombus_defconfig                    |   4 +
 drivers/mmc/sunxi_mmc.c                       |   9 +
 include/configs/sun6i.h                       |  26 +++
 include/configs/sunxi-common.h                |   8 +-
 16 files changed, 666 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/sunxi/clock_sun6i.c
 create mode 100644 arch/arm/cpu/armv7/sunxi/prcm.c
 create mode 100644 arch/arm/include/asm/arch-sunxi/clock_sun6i.h
 create mode 100644 arch/arm/include/asm/arch-sunxi/prcm.h
 create mode 100644 configs/Colombus_defconfig
 create mode 100644 include/configs/sun6i.h
Signature · 1 line
2.1.0