Skip to content

ARM: sunxi: Support PSCI for sun6i and sun8i

Hans de Goede u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 8 patches 0 repliesNew

1 of 8 patches is in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
5/8ARM: sunxi: Add sun6i specific PSCI implementation+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/8] ARM: sunxi: Support PSCI for sun6i and sun8i

Hi,

Quoted 8 lines · Chen-Yu Tsai

Hi everyone,

I finally got around to rebasing and fixing up my PSCI stuff. This series adds PSCI support for sun6i and sun8i. This is based on sun7i PSCI support by Marc, and the SMP support routines found in both mainline Linux and Allwinner's Android kernel.

Quoted 4 lines

I've tested this on my Hummingbird A31 board and Ippo q8h v5 tablet. Given the A23 SMP routines work on the A33 as well, I see no reason it would not work, so A33 support is included as well, but more testing is always welcome.

Thanks for your work on this! I've merged this into u-boot-sunxi/next, and tested it on sun6i, sun7i, sun8i-a23 and sun8i-a33 and it works fine everywhere.

Quoted 2 lines

Patch 1 and 2 address a build failur on sunxi/next I ran into, which is related to the new NAND SPL support.

Thanks I've squashed these into the patch causing the build failures in the first place.

Quoted 9 lines

Patch 3 adds some comments to the sunxi PSCI code, for easier reading.

Patch 4 moves sun7i PSCI code aside.

Patch 5 adds sun6i PSCI code. Differences from sun7i are the separate PRCM block for power gating/clamps, and support for more than 1 secondary CPU core.

Quoted 6 lines

Patch 6 enables PSCI for sun6i.

Patch 7 lets sun8i share PSCI code with sun6i. The routines are the same, except sun8i does not have power clamps.

Patch 8 enables PSCI for sun8i (A23/A33).

And I've done a normal merge of the rest, and after testing pushed u-boot-sunxi/next to u-boot-sunxi/master and send a pull-req to Tom to get this included into u-boot 2015.07

Regards,

Hans