ssb: add GPIO driver
Register a GPIO driver to access the GPIOs provided by the chip. The GPIOs of the SoC should always start at 0 and the other GPIOs could start at a random position. There is just one SoC in a system and when they start at 0 the number is predictable. Signed-off-by:Hauke Mehrtens <hauke@hauke-m.de> Patchwork: http://patchwork.linux-mips.org/patch/4591 Acked-by:
Florian Fainelli <florian@openwrt.org>
Showing
- drivers/ssb/Kconfig 9 additions, 0 deletionsdrivers/ssb/Kconfig
- drivers/ssb/Makefile 1 addition, 0 deletionsdrivers/ssb/Makefile
- drivers/ssb/driver_gpio.c 176 additions, 0 deletionsdrivers/ssb/driver_gpio.c
- drivers/ssb/main.c 6 additions, 0 deletionsdrivers/ssb/main.c
- drivers/ssb/ssb_private.h 9 additions, 0 deletionsdrivers/ssb/ssb_private.h
- include/linux/ssb/ssb.h 4 additions, 0 deletionsinclude/linux/ssb/ssb.h
Please register or sign in to comment