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-14 11:08:45 +0200
commit834c9b3f055e5ea719f6adfb3fa979e32f2adbd0 (patch)
tree044ada59f40dc1ffbe9406c1c4c84fffbf0cf3d5 /target/linux/ipq40xx/base-files
parentd65bafa34bc57f652800cf0f6e6402ff7dca0289 (diff)
downloadupstream-834c9b3f055e5ea719f6adfb3fa979e32f2adbd0.tar.gz
upstream-834c9b3f055e5ea719f6adfb3fa979e32f2adbd0.tar.bz2
upstream-834c9b3f055e5ea719f6adfb3fa979e32f2adbd0.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>
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:="
;;