Previously, gpio_switch only accepts GPIO pin number as input. Once a
GPIO pin is exported and named by device tree, its pin state cannot be
configured and saved across reboots by UCI.
This patch adds support for named GPIO pins. Thus GPIO pin can be
exported by device tree with active high/low correctly configured,
having human-readable name in /sys/class/gpio/ is also now possible.
More importantly, GPIO pins which are referenced by name will be immune
from pin mapping breakage while unintentional pin number changes are
introduced by kernel or driver updates.
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
This changes the ide-disk LED trigger to the generic disk-activity as
ide-disk trigger was removed in upstream commit eb25cb9956cc ("leds:
convert IDE trigger to common disk trigger").
Signed-off-by: Thomas Albers <thomas.gameiro@googlemail.com>
[split into separate commit, commit description facelift]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit sync ipq40xx from openwrt and x-wrt.
1. ac58u: use ath10k-ct-smallbuffers instead of ath10k, avoid memory
explosion.
2. hugo-ac1200: It seems that only one device, so move the content of
dtsi to dts.
Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
ipq40xx: add support for ASUS RT-ACRH17/RT-AC82U/RT-AC42U
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
ipq40xx: easy install for ASUS RT-AC58U/RT-ACRH13
This patch make it easy to flash via web upgrade from factory firmware.
idea from 981213
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>