GPIO: MIPS: lantiq: convert gpio-mm-lantiq to OF and of_mm_gpio
authorJohn Crispin <blogic@openwrt.org>
Wed, 16 May 2012 20:17:38 +0000 (22:17 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 21 May 2012 13:31:53 +0000 (14:31 +0100)
commita36e9a1c5fa67cdc965fe011f1d04317adb35953
tree8fc82e50f53c718c0e12785fb63f3fbeb270b383
parent5238f7bc356670ba702057c7de7f07909133f788
GPIO: MIPS: lantiq: convert gpio-mm-lantiq to OF and of_mm_gpio

Implements OF support and convert to of_mm_gpio.

By attaching hardware latches to the External Bus Unit (EBU) on Lantiq SoC, it
is possible to create output only gpios. This driver configures a special
memory address, which when written to, outputs 16 bit to the latches.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Patchwork: https://patchwork.linux-mips.org/patch/3840/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Documentation/devicetree/bindings/gpio/gpio-mm-lantiq.txt [new file with mode: 0644]
drivers/gpio/gpio-mm-lantiq.c