rb532: convert to GPIO lib
PATCH 4/5 rb532: convert to GPIO lib
This patch converts the rb532 code to use gpio library and register its gpio chip.
Signed-off-by Florian Fainelli <[email protected]>
---
arch/mips/Kconfig +1 -1
@@ -567,7 +567,7 @@ config MIKROTIK_RB532 select SYS_SUPPORTS_LITTLE_ENDIAN select SWAP_IO_SPACE select BOOT_RAW - select GENERIC_GPIO + select ARCH_REQUIRE_GPIOLIB help Support the Mikrotik(tm) RouterBoard 532 series, based on the IDT RC32434 SoC.
arch/mips/rb532/gpio.c +166 -72
308 lines not on this page · raw message
include/asm-mips/mach-rc32434/gpio.h +14 -61
94 lines not on this page · raw message