]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Lantiq: Change ltq_request_gpio() call signature
authorJohn Crispin <blogic@openwrt.org>
Wed, 11 Jan 2012 18:44:19 +0000 (19:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 26 Apr 2012 23:22:52 +0000 (00:22 +0100)
commitecce710d8aefd23326b9453d951cfc3b7b7faa5c
tree6c3281d6bb8ccdcc6be94366090197862821a623
parent7036f0a302e5a44175ca8daf63b90f6521b45643
MIPS: Lantiq: Change ltq_request_gpio() call signature

ltq_request_gpio() was using alt0/1 to multiplex the function of GPIO pins.
This was XWAY specific. In order to also accomodate SoCs that require more
bits we use a 32bit mask instead. This way the call signature is consistent
between XWAY and FALC-ON.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3252/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
arch/mips/lantiq/xway/gpio.c
arch/mips/lantiq/xway/gpio_stp.c
arch/mips/pci/pci-lantiq.c