GPIO: MIPS: lantiq: convert gpio-stp-xway to OF
authorJohn Crispin <blogic@openwrt.org>
Wed, 16 May 2012 20:22:47 +0000 (22:22 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 21 May 2012 13:31:53 +0000 (14:31 +0100)
commit54f30066178d4ff2da8e62427975736131cdbf96
tree24fc3d6d47f1747f1f311a2dead6c50c1b2310cb
parenta36e9a1c5fa67cdc965fe011f1d04317adb35953
GPIO: MIPS: lantiq: convert gpio-stp-xway to OF

Implements OF support and add code to load custom properties from the DT.

The Serial To Parallel (STP) is found on MIPS based Lantiq socs. It is a
peripheral controller used to drive external shift register cascades. At most
3 groups of 8 bits can be driven. The hardware is able to allow the DSL modem
to drive the 2 LSBs of the cascade automatically. Newer socs are also able to
automatically drive some pins via the internal PHYs. The driver currently only
supports output functionality. Patches for the input feature found on newer
generations of the soc will be provided in a later series.

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/3839/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Documentation/devicetree/bindings/gpio/gpio-stp-xway.txt [new file with mode: 0644]
drivers/gpio/gpio-stp-xway.c