mfd: Versatile Express system registers driver
authorPawel Moll <pawel.moll@arm.com>
Tue, 18 Sep 2012 11:24:57 +0000 (12:24 +0100)
committerPawel Moll <pawel.moll@arm.com>
Mon, 5 Nov 2012 17:09:49 +0000 (17:09 +0000)
commit88e0abcd7a8171ca7af3402373e7bd81fe9b6754
treef7aa8edd71dc9115c634e527b425e14cffc18dd6
parent3ecbf05be159a95e1d23ba9b3b21c5bc2941ba6b
mfd: Versatile Express system registers driver

This is a platform driver for Versatile Express' "system
register" block. It's a random collection of registers providing
the following functionality:

- low level platform functions like board ID access; in order to
  use those, the driver must be initialized early, either statically
  or based on the DT

- config bus bridge via "system control" interface; as the response
  from the controller does not generate interrupt (yet), the status
  register is periodically polled using a timer

- pseudo GPIO lines providing MMC card status and Flash WP#
  signal control

- LED interface for a set of 8 LEDs on the motherboard, with
  "heartbeat", "mmc0" and "cpu0" to "cpu5" as default triggers

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Documentation/devicetree/bindings/arm/vexpress-sysreg.txt [new file with mode: 0644]
drivers/mfd/Makefile
drivers/mfd/vexpress-sysreg.c [new file with mode: 0644]
include/linux/vexpress.h