diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2023-02-01 08:17:17 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-02-01 19:11:36 +0300 |
commit | 7dbb4a38bff3449317abec5e0187ad97f699d5a6 (patch) | |
tree | 964f21fd1ac472f1d4fe73fb2f46e3ebd3e33d08 /drivers/soc/nuvoton/Makefile | |
parent | 0ad2185dcb5ed3f3c26be8262e4180d5d97f244f (diff) | |
download | linux-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/Makefile')
-rw-r--r-- | drivers/soc/nuvoton/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/soc/nuvoton/Makefile b/drivers/soc/nuvoton/Makefile new file mode 100644 index 000000000000..e30317b4e829 --- /dev/null +++ b/drivers/soc/nuvoton/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_WPCM450_SOC) += wpcm450-soc.o |