openwrt/target/linux
Joe Mullally 685d2513b5 ath79: fix/improve LED control for TL-WPA8630 v1/v2
The TL-WPA8630 v1 and v2 have the same LED Control GPIO configuration
according to the TP-Link GPL sources. Set the GPIO to output to make
it work and set to Active Low. It defaults to LEDs on at bootup.

To turn all LEDs off:
  echo 0 > /sys/class/gpio/tp-link\:led\:control/value
To turn all LEDs on:
  echo 1 > /sys/class/gpio/tp-link\:led\:control/value

Change the "LED" button from BTN_0 to KEY_LIGHTS_TOGGLE to match other
devices and the button guide, and to reduce the number of unintuitive
"BTN_X" inputs.

Fixes: ab74def0db ("ath79: add support for TP-Link TL-WPA8630P v2")

Signed-off-by: Joe Mullally <jwmullally@gmail.com>
[shorten commit title, minor commit message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-22 15:13:15 +02:00
..
apm821xx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
ar71xx ar71xx: fix ZyXEL NBG6616 wifi switch 2020-08-11 01:12:22 +02:00
arc770 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
archs38 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
armvirt kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
at91 at91: drop obsolete empty Makefiles 2020-08-17 01:22:36 +02:00
ath25 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
ath79 ath79: fix/improve LED control for TL-WPA8630 v1/v2 2020-08-22 15:13:15 +02:00
bcm27xx kernel: bump 5.4 to 5.4.59 2020-08-20 14:19:39 +02:00
bcm47xx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
bcm53xx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
bcm63xx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
cns3xxx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
gemini gemini: Add swap partition to DNS-313 2020-07-31 18:34:40 +02:00
generic kernel: add patch that adds support for running threaded NAPI poll functions 2020-08-22 07:02:01 +02:00
imx6 kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
ipq40xx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
ipq806x ipq806x: create shared DTSI for EA7500 v1 and EA8500 2020-08-22 14:20:25 +02:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
lantiq lantiq: remove vmmc node from FritzBox 7412 dts 2020-08-20 23:45:39 +02:00
layerscape kernel: bump 5.4 to 5.4.59 2020-08-20 14:19:39 +02:00
malta treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
mediatek treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
mpc85xx treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
mvebu treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
mxs treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
octeon octeon: add support for Itus Shield Router 2020-08-16 02:15:06 +02:00
octeontx kernel: bump 5.4 to 5.4.59 2020-08-20 14:19:39 +02:00
omap treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
oxnas treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
pistachio pistachio: use generic diag.sh 2020-08-21 11:46:14 +02:00
ramips ramips: remove legacy ethernet driver components for mt7621 2020-08-21 15:46:54 +02:00
rb532 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
rockchip kernel: bump 5.4 to 5.4.58 2020-08-18 18:14:54 +02:00
samsung kernel: Update kernel 4.14 to version 4.14.187 2020-07-04 21:12:42 +02:00
sunxi treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
tegra treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
uml uml: update to linux 5.4 2020-08-22 07:02:01 +02:00
x86 kernel: Move CONFIG_IONIC to generic kernel config 2020-08-10 23:58:58 +02:00
zynq kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00