brcm47xx: resolve GPIO conflict for WRT54GSv1
authorMirko Parthey <mirko.parthey@web.de>
Mon, 26 Jun 2017 16:25:46 +0000 (18:25 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Jul 2017 20:44:06 +0000 (22:44 +0200)
commit1dace8cbe0ba32a4876cede2c9ee226462955dcd
tree01532da4b9d7ce6e8eb277a7ffc17cf33f58cf84
parent896246b8c5835240de5dc72e6253b51528e69930
brcm47xx: resolve GPIO conflict for WRT54GSv1

On the Linksys WRT54GSv1, the adm6996 switch driver and the
gpio_button_hotplug module both claim GPIO 6, which is connected to the
Reset button.  When the switch driver's request wins, the Reset button
cannot work. This makes it impossible to enter failsafe mode without a
serial console.

Stop requesting the "adm_rc" GPIO in the switch driver, since it is not
used anywhere.

Fixes FS#792.

Signed-off-by: Mirko Parthey <mirko.parthey@web.de>
target/linux/brcm47xx/patches-4.4/209-b44-register-adm-switch.patch
target/linux/generic/files/drivers/net/phy/adm6996.c
target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h