OSDN Git Service

ARM: sun8i: smp: Add support for A83T
authorMylène Josserand <mylene.josserand@bootlin.com>
Fri, 4 May 2018 19:05:43 +0000 (21:05 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 8 May 2018 13:00:20 +0000 (15:00 +0200)
commit6961275e72a8c15cc4ebf108a81eee758480a6a2
tree4d6505f5cd3405bbb81ba44106fdb82d232aa3e3
parent1631090e34f500d4b0dce9122b42d81065df1450
ARM: sun8i: smp: Add support for A83T

Add the support for A83T.

A83T SoC has an additional register than A80 to handle CPU configurations:
R_CPUS_CFG. Information about the register comes from Allwinner's BSP
driver.
An important difference is the Power Off Gating register for clusters
which is BIT(4) in case of SUN9I-A80 and BIT(0) in case of SUN8I-A83T.
There is also a bit swap between sun8i-a83t and sun9i-a80 that must be
handled.

Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/mc_smp.c