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 | 5ebd02e8d51163229658dabba7507b3abc67b215 (patch) | |
tree | e405e727c055bc43275c58a5519c28b736ff6a0c /target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch | |
parent | 78f253f9b10fe2cea7e8a6b8e792523ba05bad77 (diff) | |
download | mtk-20170518-5ebd02e8d51163229658dabba7507b3abc67b215.zip mtk-20170518-5ebd02e8d51163229658dabba7507b3abc67b215.tar.gz mtk-20170518-5ebd02e8d51163229658dabba7507b3abc67b215.tar.bz2 |
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>
SVN-Revision: 46753
Diffstat (limited to 'target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch b/target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch index 26f7f51..5ab76e4 100644 --- a/target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch +++ b/target/linux/brcm63xx/patches-4.1/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch @@ -25,7 +25,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> select SSB --- a/arch/mips/bcm63xx/boards/board_common.c +++ b/arch/mips/bcm63xx/boards/board_common.c -@@ -10,6 +10,8 @@ +@@ -10,12 +10,15 @@ #include <linux/init.h> #include <linux/kernel.h> #include <linux/string.h> @@ -33,8 +33,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> +#include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/ssb/ssb.h> - #include <linux/gpio_keys.h> -@@ -17,6 +19,7 @@ + #include <linux/spi/spi.h> #include <asm/addrspace.h> #include <asm/bootinfo.h> #include <asm/fw/cfe/cfe_api.h> @@ -42,7 +41,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> #include <bcm63xx_board.h> #include <bcm63xx_cpu.h> #include <bcm63xx_dev_uart.h> -@@ -129,8 +132,23 @@ void __init board_setup(void) +@@ -126,8 +129,23 @@ void __init board_setup(void) /* make sure we're running on expected cpu */ if (bcm63xx_get_cpu_id() != board.expected_cpu_id) panic("unexpected CPU for bcm963xx board"); @@ -66,8 +65,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> static struct gpio_led_platform_data bcm63xx_led_data; static struct platform_device bcm63xx_gpio_leds = { -@@ -149,6 +167,13 @@ static struct platform_device bcm63xx_gp - .dev.platform_data = &bcm63xx_gpio_keys_data, +@@ -136,6 +154,13 @@ static struct platform_device bcm63xx_gp + .dev.platform_data = &bcm63xx_led_data, }; +#if CONFIG_OF @@ -80,8 +79,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org> /* * third stage init callback, register all board devices. */ -@@ -158,6 +183,15 @@ int __init board_register_devices(void) - int led_count = 0; +@@ -143,6 +168,15 @@ int __init board_register_devices(void) + { int usbh_ports = 0; +#if CONFIG_OF |