summaryrefslogtreecommitdiff
path: root/drivers/soc/amlogic/Kconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-06-23 10:28:18 +0200
committerKevin Hilman <khilman@baylibre.com>2017-07-28 09:25:07 -0700
commita9daaba2965e8b132424514e184fc40ee6f9e00c (patch)
tree037bce4964138fc634af4138e0141cbe0a5b4a87 /drivers/soc/amlogic/Kconfig
parent9833eb16c1456fdfb1d76b4dda9fd60a931dbc34 (diff)
soc: Add Amlogic SoC Information driver
Amlogic SoCs have a SoC information register for SoC type, package type and revision information. This patchs adds support for this register decoding and exposing with the SoC bus infrastructure. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'drivers/soc/amlogic/Kconfig')
-rw-r--r--drivers/soc/amlogic/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig
new file mode 100644
index 000000000000..22acf064531f
--- /dev/null
+++ b/drivers/soc/amlogic/Kconfig
@@ -0,0 +1,12 @@
+menu "Amlogic SoC drivers"
+
+config MESON_GX_SOCINFO
+ bool "Amlogic Meson GX SoC Information driver"
+ depends on ARCH_MESON || COMPILE_TEST
+ default ARCH_MESON
+ select SOC_BUS
+ help
+ Say yes to support decoding of Amlogic Meson GX SoC family
+ information about the type, package and version.
+
+endmenu