mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
ARM: shmobile: R-Mobile: Move pm-rmobile to drivers/soc/renesas/
The pm-rmobile driver is really a driver for the System Controller (SYSC) found in R-Mobile SoCs. An equivalent driver for R-Car SoCs is already located under drivers/soc/renesas/. Hence move the pm-rmobile driver from arch/arm/mach-shmobile/ to drivers/soc/renesas/, and rename it to rmobile-sysc. Enable compile-testing on non-ARM and non-R-Mobile SoCs. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
445aeb081b
commit
2ed29e15e4
5 changed files with 7 additions and 7 deletions
|
@ -1,9 +1,4 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
config PM_RMOBILE
|
|
||||||
bool
|
|
||||||
select PM
|
|
||||||
select PM_GENERIC_DOMAINS
|
|
||||||
|
|
||||||
menuconfig ARCH_RENESAS
|
menuconfig ARCH_RENESAS
|
||||||
bool "Renesas ARM SoCs"
|
bool "Renesas ARM SoCs"
|
||||||
depends on ARCH_MULTI_V7 && MMU
|
depends on ARCH_MULTI_V7 && MMU
|
||||||
|
|
|
@ -35,7 +35,6 @@ smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
|
||||||
|
|
||||||
# PM objects
|
# PM objects
|
||||||
obj-$(CONFIG_SUSPEND) += suspend.o
|
obj-$(CONFIG_SUSPEND) += suspend.o
|
||||||
obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o
|
|
||||||
obj-$(CONFIG_ARCH_RCAR_GEN2) += pm-rcar-gen2.o
|
obj-$(CONFIG_ARCH_RCAR_GEN2) += pm-rcar-gen2.o
|
||||||
|
|
||||||
# Framework support
|
# Framework support
|
||||||
|
|
|
@ -34,9 +34,11 @@ config ARCH_RCAR_GEN3
|
||||||
|
|
||||||
config ARCH_RMOBILE
|
config ARCH_RMOBILE
|
||||||
bool
|
bool
|
||||||
select PM_RMOBILE
|
select PM
|
||||||
|
select PM_GENERIC_DOMAINS
|
||||||
select SYS_SUPPORTS_SH_CMT
|
select SYS_SUPPORTS_SH_CMT
|
||||||
select SYS_SUPPORTS_SH_TMU
|
select SYS_SUPPORTS_SH_TMU
|
||||||
|
select SYSC_RMOBILE
|
||||||
|
|
||||||
config ARCH_RZN1
|
config ARCH_RZN1
|
||||||
bool
|
bool
|
||||||
|
@ -297,4 +299,7 @@ config RST_RCAR
|
||||||
config SYSC_RCAR
|
config SYSC_RCAR
|
||||||
bool "R-Car System Controller support" if COMPILE_TEST
|
bool "R-Car System Controller support" if COMPILE_TEST
|
||||||
|
|
||||||
|
config SYSC_RMOBILE
|
||||||
|
bool "R-Mobile System Controller support" if COMPILE_TEST
|
||||||
|
|
||||||
endif # SOC_RENESAS
|
endif # SOC_RENESAS
|
||||||
|
|
|
@ -27,3 +27,4 @@ endif
|
||||||
# Family
|
# Family
|
||||||
obj-$(CONFIG_RST_RCAR) += rcar-rst.o
|
obj-$(CONFIG_RST_RCAR) += rcar-rst.o
|
||||||
obj-$(CONFIG_SYSC_RCAR) += rcar-sysc.o
|
obj-$(CONFIG_SYSC_RCAR) += rcar-sysc.o
|
||||||
|
obj-$(CONFIG_SYSC_RMOBILE) += rmobile-sysc.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue