summaryrefslogtreecommitdiff
path: root/arch/arm64/Kconfig.platforms
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-11-14 21:37:08 +0300
committerSimon Horman <horms+renesas@verge.net.au>2016-11-23 22:22:21 +0300
commit8d6799a9ba23acd675f3243580ee6f1756fb4381 (patch)
treea65ddb09a2d5afdc39c830eb575520a32232a861 /arch/arm64/Kconfig.platforms
parent5384f45cd9714287f198771bfb057eda799af9a8 (diff)
downloadlinux-8d6799a9ba23acd675f3243580ee6f1756fb4381.tar.xz
soc: renesas: Identify SoC and register with the SoC bus
Identify the SoC type and revision, and register this information with the SoC bus, so it is available under /sys/devices/soc0/, and can be checked where needed using soc_device_match(). Identification is done using the Product Register or Common Chip Code Register, as declared in DT (PRR only for now), or using a hardcoded fallback if missing. Example: Detected Renesas R-Car Gen2 r8a7791 ES1.0 ... # cat /sys/devices/soc0/{machine,family,soc_id,revision} Koelsch R-Car Gen2 r8a7791 ES1.0 Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/Kconfig.platforms')
-rw-r--r--arch/arm64/Kconfig.platforms1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index cfbdf02ef566..72f4eac5cbbc 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -143,6 +143,7 @@ config ARCH_RENESAS
select PM
select PM_GENERIC_DOMAINS
select RENESAS_IRQC
+ select SOC_BUS
help
This enables support for the ARMv8 based Renesas SoCs.