summaryrefslogtreecommitdiff
path: root/drivers/soc/nuvoton/Kconfig
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2023-02-01 08:17:17 +0300
committerArnd Bergmann <arnd@arndb.de>2023-02-01 19:11:36 +0300
commit7dbb4a38bff3449317abec5e0187ad97f699d5a6 (patch)
tree964f21fd1ac472f1d4fe73fb2f46e3ebd3e33d08 /drivers/soc/nuvoton/Kconfig
parent0ad2185dcb5ed3f3c26be8262e4180d5d97f244f (diff)
downloadlinux-7dbb4a38bff3449317abec5e0187ad97f699d5a6.tar.xz
soc: nuvoton: Add SoC info driver for WPCM450
Add a SoC information driver for Nuvoton WPCM450 SoCs. It provides information such as the SoC revision. Usage example: # grep . /sys/devices/soc0/* /sys/devices/soc0/family:Nuvoton NPCM /sys/devices/soc0/revision:A3 /sys/devices/soc0/soc_id:WPCM450 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Link: https://lore.kernel.org/r/20221031223926.241641-1-j.neuschaefer@gmx.net Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20230201051717.1005938-1-joel@jms.id.au Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/nuvoton/Kconfig')
-rw-r--r--drivers/soc/nuvoton/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soc/nuvoton/Kconfig b/drivers/soc/nuvoton/Kconfig
new file mode 100644
index 000000000000..df46182088ec
--- /dev/null
+++ b/drivers/soc/nuvoton/Kconfig
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
+menuconfig WPCM450_SOC
+ tristate "Nuvoton WPCM450 SoC driver"
+ default y if ARCH_WPCM450
+ select SOC_BUS
+ help
+ Say Y here to compile the SoC information driver for Nuvoton
+ WPCM450 SoCs.
+
+ This driver provides information such as the SoC model and
+ revision.