]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: add GPIO driver
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 20 Nov 2012 22:24:30 +0000 (22:24 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 21 Nov 2012 20:55:52 +0000 (21:55 +0100)
commit18392cac096c4ee16872b2a1f15590fbbc58db45
tree651457e034e073d236e9b0e64e0008e4ed2e0150
parentebbe71cb7c1d86e4bae2941df1e54b802bc73278
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>
drivers/bcma/Kconfig
drivers/bcma/Makefile
drivers/bcma/bcma_private.h
drivers/bcma/driver_gpio.c [new file with mode: 0644]
drivers/bcma/main.c
include/linux/bcma/bcma_driver_chipcommon.h