bcma: 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/4587 Acked-by:
Florian Fainelli <florian@openwrt.org>
Showing
- drivers/bcma/Kconfig 9 additions, 0 deletionsdrivers/bcma/Kconfig
- drivers/bcma/Makefile 1 addition, 0 deletionsdrivers/bcma/Makefile
- drivers/bcma/bcma_private.h 10 additions, 0 deletionsdrivers/bcma/bcma_private.h
- drivers/bcma/driver_gpio.c 98 additions, 0 deletionsdrivers/bcma/driver_gpio.c
- drivers/bcma/main.c 5 additions, 0 deletionsdrivers/bcma/main.c
- include/linux/bcma/bcma_driver_chipcommon.h 5 additions, 0 deletionsinclude/linux/bcma/bcma_driver_chipcommon.h
Please register or sign in to comment