public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] sunxi: PSCI support for H3
@ 2016-01-06  7:13 Chen-Yu Tsai
  2016-01-06  7:13 ` [U-Boot] [PATCH 1/4] sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3 Chen-Yu Tsai
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Chen-Yu Tsai @ 2016-01-06  7:13 UTC (permalink / raw)
  To: u-boot

Hi everyone,

This series enables PSCI support for the H3. Like other Allwinner SoCs,
the implementation only supports PSCI 0.1, specifically only secondary
CPU boot/hotplug.

Patch 1 supports the SMTA (previously called TZPC) TrustZone hardware
on H3. This controls non-secure access to some important hardware blocks.

Patch 2 supports the security switch in H3's CCU. This is H3 only. No
other SoCs have this feature.

Patch 3 supports H3 using sun6i PSCI implementation. H3 uses the same
power sequence as sun6i, including the power clamps. This is shown in
Allwinner's SDK, and confirmed / tested by Siarhei.

Patch 4 enables PSCI support for the H3 in Kconfig.


I've only tested booting HYP/SMP on my Orange Pi PC. Hotplugging was not
tested, but should work.


Regards
ChenYu

Chen-Yu Tsai (4):
  sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3
  sunxi: Support H3 CCU security switches
  sunxi: Support PSCI ops on Allwinner H3
  sunxi: Enable booting non-secure and virtualization for H3

 arch/arm/cpu/armv7/sunxi/Makefile             |  1 +
 arch/arm/cpu/armv7/sunxi/clock.c              |  5 +++++
 arch/arm/cpu/armv7/sunxi/clock_sun6i.c        | 13 +++++++++++++
 arch/arm/cpu/armv7/sunxi/psci_sun6i.S         |  4 ++--
 arch/arm/cpu/armv7/sunxi/tzpc.c               | 11 ++++++++++-
 arch/arm/include/asm/arch-sunxi/clock.h       |  1 +
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h |  7 +++++++
 arch/arm/include/asm/arch-sunxi/tzpc.h        | 13 ++++++++++++-
 board/sunxi/Kconfig                           |  3 +++
 9 files changed, 54 insertions(+), 4 deletions(-)

-- 
2.6.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-01-21 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-06  7:13 [U-Boot] [PATCH 0/4] sunxi: PSCI support for H3 Chen-Yu Tsai
2016-01-06  7:13 ` [U-Boot] [PATCH 1/4] sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3 Chen-Yu Tsai
2016-01-21 18:25   ` Hans de Goede
2016-01-06  7:13 ` [U-Boot] [PATCH 2/4] sunxi: Support H3 CCU security switches Chen-Yu Tsai
2016-01-06  7:13 ` [U-Boot] [PATCH 3/4] sunxi: Support PSCI ops on Allwinner H3 Chen-Yu Tsai
2016-01-06  7:13 ` [U-Boot] [PATCH 4/4] sunxi: Enable booting non-secure and virtualization for H3 Chen-Yu Tsai
2016-01-06 10:45 ` [U-Boot] [PATCH 0/4] sunxi: PSCI support " Jens Kuske
2016-01-21 18:02 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox