aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-09-21 21:18:30 +0000
committerRafał Miłecki <zajec5@gmail.com>2014-09-21 21:18:30 +0000
commit223a309c3c0dc5e548b1cd948d1dad17a31c366f (patch)
tree3685114b3f3093e3e1db639a5f7963687d138983 /target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch
parent2468f9201f858210c8d2963db698a9c00f8bcb1f (diff)
downloadupstream-223a309c3c0dc5e548b1cd948d1dad17a31c366f.tar.gz
upstream-223a309c3c0dc5e548b1cd948d1dad17a31c366f.tar.bz2
upstream-223a309c3c0dc5e548b1cd948d1dad17a31c366f.zip
bcm53xx: add support for GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42638
Diffstat (limited to 'target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch b/target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch
new file mode 100644
index 0000000000..887650e4f7
--- /dev/null
+++ b/target/linux/bcm53xx/patches-3.14/045-ARM-BCM5301X-select-GPIOLIB-as-optional.patch
@@ -0,0 +1,29 @@
+From e7b1065712e769eb4de7b9d4aa222a4531c2b8fd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
+Date: Sat, 20 Sep 2014 18:21:19 +0200
+Subject: [PATCH V2] ARM: BCM5301X: select GPIOLIB as optional
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+All routers (or 99% of them) based on BCM5301X use GPIOs to control LEDs
+and buttons.
+
+Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
+---
+V2: Don't select GPIOLIB. We may still think about making it default at
+ some point, but we dont' really require it to boot successfully.
+---
+ arch/arm/mach-bcm/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm/mach-bcm/Kconfig
++++ b/arch/arm/mach-bcm/Kconfig
+@@ -35,6 +35,7 @@ config ARCH_BCM_MOBILE
+ config ARCH_BCM_5301X
+ bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7
+ depends on MMU
++ select ARCH_WANT_OPTIONAL_GPIOLIB
+ select ARM_GIC
+ select CACHE_L2X0
+ select HAVE_ARM_SCU if SMP