ipq40xx: Lyra: update RGB LED-Controller node for 5.10+
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 7 May 2022 17:41:55 +0000 (19:41 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 15 May 2022 09:17:31 +0000 (11:17 +0200)
commit308ce4607687fb2e1cd013f221751139e3cdafdb
tree9234b8a421ddebce483a37d73df8044e29e65d05
parent19a8c723b65ae3d15f36601e93a1ef2dc9783731
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)
target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts