mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 08:05:26 +07:00
be32bcbbd1
Move the pm-rcar driver from arch/arm/mach-shmobile/ to drivers/soc/renesas/, and its header file to include/linux/soc/renesas/, so it can be shared between arm32 (R-Car H1 and Gen2) and arm64 (R-Car Gen3). Rename it to rcar-sysc as it's really a driver for the R-Car System Controller (SYSC). Kill the intermediate PM_RCAR config symbol, as it's not user configurable anymore, and to prepare for SoC-specific make rules. Add the missing #include <linux/types.h> to rcar-sysc.h, which was exposed by different include order. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
103 lines
1.8 KiB
Plaintext
103 lines
1.8 KiB
Plaintext
config ARCH_SHMOBILE
|
|
bool
|
|
|
|
config ARCH_SHMOBILE_MULTI
|
|
bool
|
|
|
|
config PM_RMOBILE
|
|
bool
|
|
select PM
|
|
select PM_GENERIC_DOMAINS
|
|
|
|
config ARCH_RCAR_GEN1
|
|
bool
|
|
select PM
|
|
select PM_GENERIC_DOMAINS
|
|
select RENESAS_INTC_IRQPIN
|
|
select SYS_SUPPORTS_SH_TMU
|
|
|
|
config ARCH_RCAR_GEN2
|
|
bool
|
|
select PM
|
|
select PM_GENERIC_DOMAINS
|
|
select RENESAS_IRQC
|
|
select SYS_SUPPORTS_SH_CMT
|
|
select PCI_DOMAINS if PCI
|
|
|
|
config ARCH_RMOBILE
|
|
bool
|
|
select PM_RMOBILE
|
|
select SYS_SUPPORTS_SH_CMT
|
|
select SYS_SUPPORTS_SH_TMU
|
|
|
|
menuconfig ARCH_RENESAS
|
|
bool "Renesas ARM SoCs"
|
|
depends on ARCH_MULTI_V7 && MMU
|
|
select ARCH_SHMOBILE
|
|
select ARCH_SHMOBILE_MULTI
|
|
select HAVE_ARM_SCU if SMP
|
|
select HAVE_ARM_TWD if SMP
|
|
select ARM_GIC
|
|
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
|
|
select NO_IOPORT_MAP
|
|
select PINCTRL
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select ZONE_DMA if ARM_LPAE
|
|
|
|
if ARCH_RENESAS
|
|
|
|
#comment "Renesas ARM SoCs System Type"
|
|
|
|
config ARCH_EMEV2
|
|
bool "Emma Mobile EV2"
|
|
select SYS_SUPPORTS_EM_STI
|
|
|
|
config ARCH_R7S72100
|
|
bool "RZ/A1H (R7S72100)"
|
|
select PM
|
|
select PM_GENERIC_DOMAINS
|
|
select SYS_SUPPORTS_SH_MTU2
|
|
|
|
config ARCH_R8A73A4
|
|
bool "R-Mobile APE6 (R8A73A40)"
|
|
select ARCH_RMOBILE
|
|
select RENESAS_IRQC
|
|
|
|
config ARCH_R8A7740
|
|
bool "R-Mobile A1 (R8A77400)"
|
|
select ARCH_RMOBILE
|
|
select RENESAS_INTC_IRQPIN
|
|
|
|
config ARCH_R8A7778
|
|
bool "R-Car M1A (R8A77781)"
|
|
select ARCH_RCAR_GEN1
|
|
|
|
config ARCH_R8A7779
|
|
bool "R-Car H1 (R8A77790)"
|
|
select ARCH_RCAR_GEN1
|
|
|
|
config ARCH_R8A7790
|
|
bool "R-Car H2 (R8A77900)"
|
|
select ARCH_RCAR_GEN2
|
|
select I2C
|
|
|
|
config ARCH_R8A7791
|
|
bool "R-Car M2-W (R8A77910)"
|
|
select ARCH_RCAR_GEN2
|
|
select I2C
|
|
|
|
config ARCH_R8A7793
|
|
bool "R-Car M2-N (R8A7793)"
|
|
select ARCH_RCAR_GEN2
|
|
select I2C
|
|
|
|
config ARCH_R8A7794
|
|
bool "R-Car E2 (R8A77940)"
|
|
select ARCH_RCAR_GEN2
|
|
|
|
config ARCH_SH73A0
|
|
bool "SH-Mobile AG5 (R8A73A00)"
|
|
select ARCH_RMOBILE
|
|
select RENESAS_INTC_IRQPIN
|
|
endif
|