summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm2708/Makefile
diff options
context:
space:
mode:
authorpopcornmix <popcornmix@gmail.com>2014-10-08 18:50:05 +0100
committerpopcornmix <popcornmix@gmail.com>2015-05-18 14:10:16 +0100
commit520bf118a7d466048d2a927d945e3d4b3ea1afc6 (patch)
treefd1eaff2f3cc9bc932eff30b8f5b7c015521080d /arch/arm/mach-bcm2708/Makefile
parent08d998bd955c232b20083ebb696291d3bfb5e961 (diff)
downloadlinux-520bf118a7d466048d2a927d945e3d4b3ea1afc6.tar.gz
Add bcm2708_gpio driver
Signed-off-by: popcornmix <popcornmix@gmail.com> bcm2708: Add extension to configure internal pulls The bcm2708 gpio controller supports internal pulls to be used as pull-up, pull-down or being entirely disabled. As it can be useful for a driver to change the pull configuration from it's default pull-down state, add an extension which allows configuring the pull per gpio. Signed-off-by: Julian Scheel <julian@jusst.de> bcm2708-gpio: Revert the use of pinctrl_request_gpio In non-DT systems, pinctrl_request_gpio always fails causing "requests probe deferral" messages. In DT systems, it isn't useful because the reference counting is independent of the normal pinctrl pin reservations. gpio: Only clear the currently occurring interrupt. Avoids losing interrupts See: linux #760 bcm2708_gpio: Avoid calling irq_unmask for all interrupts When setting up the interrupts, specify that the handle_simple_irq handler should be used. This leaves interrupt acknowledgement to the caller, and prevents irq_unmask from being called for all interrupts. Issue: linux #760
Diffstat (limited to 'arch/arm/mach-bcm2708/Makefile')
-rw-r--r--arch/arm/mach-bcm2708/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm2708/Makefile b/arch/arm/mach-bcm2708/Makefile
index c76f39bc31db..a722f3fb7257 100644
--- a/arch/arm/mach-bcm2708/Makefile
+++ b/arch/arm/mach-bcm2708/Makefile
@@ -3,4 +3,5 @@
#
obj-$(CONFIG_MACH_BCM2708) += clock.o bcm2708.o armctrl.o vcio.o power.o dma.o
+obj-$(CONFIG_BCM2708_GPIO) += bcm2708_gpio.o
obj-$(CONFIG_BCM2708_VCMEM) += vc_mem.o