Skip to content

ARM: sunxi: Support PSCI for sun6i and sun8i

Maxime Ripard u-boot 1 version New

Get series with b4
b4 am 20150528153117.GX8557@lukather

Versions newest first

  1. v1 Latest2 of 8 patches 0 repliesNew

2 of 8 patches are in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/8ARM: sunxi: Document registers in PSCI code+0 -01 reply
5/8ARM: sunxi: Add sun6i specific PSCI implementation+0 -03 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 Chen-Yu,

Quoted 7 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.

This is great, thanks!

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.

Yeah, and we can expect it to work on the H3 and R16 as well.

Quoted 12 lines

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

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 8 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).

Wonder if we still need the SMP support in the kernel?

Eventually, we can remove it.

However, I think we should wait a bit before doing so. We have a few things that will be required before that:
- That these patches get merged (obviously)
- That we have a way to replace the Allwinner bootloader in NAND on these SoCs. That's especially true on the A31, which will boot on NAND by default. We don't look so far off though.
- That these patches get into enough u-boot releases that we can expect that most of the users to have been moved over (I'd say something like 2-3 releases)

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150528/f00af6ad/attachment.sig>