soc: add driver for the ARM RealView
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 25 Jul 2014 13:04:52 +0000 (15:04 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 25 Sep 2014 22:26:10 +0000 (00:26 +0200)
commita2974c9c1f83e7163e855eb80c772db45bc9a291
treec862926db34508264b8bba96b297190889dd1f6e
parent0e545f57b708630c54c8c5c24ea7f7034f6c40d9
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
drivers/soc/Kconfig
drivers/soc/Makefile
drivers/soc/versatile/Kconfig [new file with mode: 0644]
drivers/soc/versatile/Makefile [new file with mode: 0644]
drivers/soc/versatile/soc-realview.c [new file with mode: 0644]