diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-08-30 12:17:52 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-08-30 12:17:52 +0000 |
commit | d436039231990ffd144b0c65d663c4c4b97ca4ac (patch) | |
tree | 697fd9e1b956ff5daf3d4c6fc36a22126dac4ad0 /target/linux/brcm63xx/patches-4.1/528-board_nb6.patch | |
parent | 01888c1a0dbb0b42261924e07dc18121e3748ef2 (diff) | |
download | master-187ad058-d436039231990ffd144b0c65d663c4c4b97ca4ac.tar.gz master-187ad058-d436039231990ffd144b0c65d663c4c4b97ca4ac.tar.bz2 master-187ad058-d436039231990ffd144b0c65d663c4c4b97ca4ac.zip |
brcm63xx: remove legacy led/button related patches
We register all gpio buttons and leds through DT, so no need to keep
fixes/additions for the platform data based bay.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46753 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-4.1/528-board_nb6.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.1/528-board_nb6.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch b/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch index 173c2d26fd..8b491084c3 100644 --- a/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch +++ b/target/linux/brcm63xx/patches-4.1/528-board_nb6.patch @@ -1,17 +1,17 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -12,6 +12,8 @@ +@@ -10,6 +10,8 @@ + #include <linux/init.h> + #include <linux/kernel.h> #include <linux/string.h> - #include <linux/gpio_keys.h> - #include <linux/input.h> +#include <linux/platform_device.h> +#include <linux/rtl8367.h> #include <asm/addrspace.h> #include <bcm63xx_board.h> #include <bcm63xx_cpu.h> -@@ -31,6 +33,9 @@ - #define BCM963XX_KEYS_POLL_INTERVAL 20 - #define BCM963XX_KEYS_DEBOUNCE_INTERVAL (BCM963XX_KEYS_POLL_INTERVAL * 3) +@@ -26,6 +28,9 @@ + + #define HCS_OFFSET_128K 0x20000 +#define NB6_GPIO_RTL8367_SDA 18 +#define NB6_GPIO_RTL8367_SCK 20 @@ -19,7 +19,7 @@ /* * known 3368 boards */ -@@ -1318,6 +1323,69 @@ static struct board_info __initdata boar +@@ -1313,6 +1318,69 @@ static struct board_info __initdata boar }; #endif /* CONFIG_BCM63XX_CPU_6358 */ @@ -89,7 +89,7 @@ /* * known 6368 boards */ -@@ -1469,6 +1537,10 @@ static const struct board_info __initcon +@@ -1464,6 +1532,10 @@ static const struct board_info __initcon &board_DVAG3810BN, #endif @@ -100,7 +100,7 @@ #ifdef CONFIG_BCM63XX_CPU_6368 &board_96368mvwg, &board_96368mvngr, -@@ -1537,6 +1609,9 @@ static struct of_device_id const bcm963x +@@ -1532,6 +1604,9 @@ static struct of_device_id const bcm963x { .compatible = "t-com,spw303v", .data = &board_spw303v, }, { .compatible = "telsey,cpva642", .data = &board_CPVA642, }, #endif |