]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: gpio: add own IRQ domain
authorRafał Miłecki <zajec5@gmail.com>
Thu, 12 Dec 2013 12:46:03 +0000 (13:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 23 Jan 2014 12:02:37 +0000 (13:02 +0100)
commitdb1318aff0771f681211dbdfed0396c94c8d7fed
tree247988896cfc281f218bf407338ec329d76839ac
parent5799e3982746adcd40b349b01c250c6679aa9df4
bcma: gpio: add own IRQ domain

Input GPIO changes can generate interrupts, but we need kind of ACK for
them by changing IRQ polarity. This is required to stop hardware from
keep generating interrupts and generate another one on the next GPIO
state change.
This code allows using GPIOs with standard interrupts and add for
example GPIO buttons support.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6216/
drivers/bcma/Kconfig
drivers/bcma/driver_gpio.c
include/linux/bcma/bcma_driver_chipcommon.h