diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-07-25 17:04:52 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-09-26 02:26:10 +0400 |
commit | a2974c9c1f83e7163e855eb80c772db45bc9a291 (patch) | |
tree | c862926db34508264b8bba96b297190889dd1f6e /drivers/soc/versatile/Kconfig | |
parent | 0e545f57b708630c54c8c5c24ea7f7034f6c40d9 (diff) | |
download | linux-a2974c9c1f83e7163e855eb80c772db45bc9a291.tar.xz |
soc: add driver for the ARM RealView
This adds a SoC driver to be used by the ARM RealView
reference boards. We create the "versatile" directory to hold
the different ARM reference designs as per the pattern of the
clk directory layout. The driver utilze the syscon to get to
the register needed. After this we can use sysfs to get at
some SoC properties on RealView DT variants like this:
> cd /sysbus/soc/devices/soc0
> ls
board family machine power subsystem
build fpga manufacturer soc_id uevent
> cat family
Versatile
> cat fpga
Multi-layer AXI
> cat board
HBI-0147
> cat build
03
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Conflicts:
drivers/soc/Kconfig
drivers/soc/Makefile
Diffstat (limited to 'drivers/soc/versatile/Kconfig')
-rw-r--r-- | drivers/soc/versatile/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/soc/versatile/Kconfig b/drivers/soc/versatile/Kconfig new file mode 100644 index 000000000000..bf5ee9c85330 --- /dev/null +++ b/drivers/soc/versatile/Kconfig @@ -0,0 +1,10 @@ +# +# ARM Versatile SoC drivers +# +config SOC_REALVIEW + bool "SoC bus device for the ARM RealView platforms" + depends on ARCH_REALVIEW + select SOC_BUS + help + Include support for the SoC bus on the ARM RealView platforms + providing some sysfs information about the ASIC variant. |