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