aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2022-05-07 19:41:55 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-05-15 11:17:31 +0200
commit308ce4607687fb2e1cd013f221751139e3cdafdb (patch)
tree9234b8a421ddebce483a37d73df8044e29e65d05 /target/linux/ipq40xx/base-files
parent19a8c723b65ae3d15f36601e93a1ef2dc9783731 (diff)
downloadupstream-308ce4607687fb2e1cd013f221751139e3cdafdb.tar.gz
upstream-308ce4607687fb2e1cd013f221751139e3cdafdb.tar.bz2
upstream-308ce4607687fb2e1cd013f221751139e3cdafdb.zip
ipq40xx: Lyra: update RGB LED-Controller node for 5.10+
Add the reg and color property to each channel node. This update is to accommodate the multicolor framework. Refer to: <https://lore.kernel.org/all/20200622185919.2131-9-dmurphy@ti.com> <https://lore.kernel.org/all/20210818070209.1540451-1-michal.vokac@ysoft.com> Note: There is only a single extremely bright RGB-LED. The RGB-color channels (i.e.: blue-0, blue-1 and blue-2) are running in parallel to increase the current delivery beyond what a single PWM-output on the LED controller could do. BugLink: https://github.com/openwrt/openwrt/issues/9851 Reported-By: Thomas Bøge <thomas@boegenielsen.dk> Tested-By: Thomas Bøge <thomas@boegenielsen.dk> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit 834c9b3f055e5ea719f6adfb3fa979e32f2adbd0)
Diffstat (limited to 'target/linux/ipq40xx/base-files')
-rw-r--r--target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration
index ef4d3d037c..e8818a41ed 100644
--- a/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration
@@ -3,6 +3,9 @@
board=$(board_name)
case "$board" in
+asus,map-ac2200)
+ migrate_leds ':chan=-'
+ ;;
engenius,emr3500)
migrate_leds "emr3500:="
;;