[RFC PATCH 10/17] clk: sunxi: Add support for the D1 CCU

Maksim Kiselev bigunclemax at gmail.com
Fri May 26 21:27:10 CEST 2023


Hi Sam, Andre,

On Thu, 25 May 2023 18:34:45 -0600 Sam Edwards <cfsworks at gmail.com> wrote:

> PS: Do you have any plans for PSCI support, so we can get the second
> core up too? I'd like to patch that in and include it in your series
> once my available time permits. Just thought I'd check that you/someone
> wasn't working on it already. :)
Let me join the PSCI discussion. This is not news, but maybe someone 
else didn't know it :)

There is a Linux patch that allows to bring up the second core.
https://github.com/szemzoa/awboot/blob/6ea4ae4ad7a558ad952fefee1942e260aea1a69f/linux/second_core_support_in_platsmp.patch#L10

I think this could be useful for adding PSCI support for T113.

On 26.05.2023 13:50, Andre Przywara wrote:
> I checked the manuals, and it seems the required bits are documented,
> but IIRC they differ from the other (much older) 32-bit parts. So it
> would require some refactoring of the existing sunxi PSCI code to
> accommodate the T113.
For some reason, these registers 0x070005C0, 0x070005C4, 0x070005C8 do 
not have a detailed description in the user manual.
Only there are some notes in the paragraph '3.4.2.3 NON_CPU0 Boot Process' .


More information about the U-Boot mailing list