]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: shmobile: r8a7779: Remove explicit SYSC config and init
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 30 May 2018 15:25:15 +0000 (17:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 18 Jun 2018 10:00:28 +0000 (12:00 +0200)
commit891e0528602d4791409e5e32311f6ee2016d1982
tree7f9630531d1616497631324d4e155d13b6f98d6f
parent1db3ab56f1300fdce350033e35c97f63309667be
ARM: shmobile: r8a7779: Remove explicit SYSC config and init

If the R-Car H1 system controller is described in DT, the rcar-sysc
driver configures SYSCIER and SYSCIMR based on the SoC-specific power
area definitions in r8a7779-sysc.  The platform code still passed this
information to the rcar-sysc driver, for compatibility with old DTBs
predating commit 8cf14c9e1c8c9da7 ("ARM: dts: r8a7779: Add SYSC PM
Domains") in v4.7.  The time has come to drop backwards compatibility,
and delegate everything to the DT enabled rcar-sysc driver.

After stopping powering down secondary CPUs during early boot, there is
no longer a need to force an early initialization of the rcar-sysc
driver.  It will be initialized in time for secondary CPU bringup by its
early_initcall().

Hence all explicit SYSC configuration and initialization can be removed
from the R-Car H1 platform code.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/pm-r8a7779.c [deleted file]
arch/arm/mach-shmobile/r8a7779.h
arch/arm/mach-shmobile/smp-r8a7779.c