mediatek: add Ubiquiti LED driver
authorDavid Bauer <mail@david-bauer.net>
Sat, 13 Feb 2021 23:23:51 +0000 (00:23 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 18 Feb 2021 11:14:25 +0000 (12:14 +0100)
commitee6349fbe52c7db55dbca64984df2eaf5f45d93d
treebbbc7aeee7778423914c726bb1093dba31ddffa5
parent0011c7ad127ba38b28b8a98642d0f815a85887a0
mediatek: add Ubiquiti LED driver

Add a driver for controlling the RGB LED via Ubiquitis own "LEDBAR" LED
controller based on the Holtek HT32F52241 MCU.

This driver is initially used by the Ubiquiti UniFi 6 LR, however
judging from FCC pictures the MCU is also found on the U6-Mesh as well
as the U6-Extender.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit c9137e2ddf97ede1db399dc38acff26feb48ba7e)
target/linux/mediatek/files-5.4/drivers/leds/leds-ubnt-ledbar.c [new file with mode: 0644]
target/linux/mediatek/mt7622/config-5.4
target/linux/mediatek/mt7623/config-5.4
target/linux/mediatek/mt7629/config-5.4
target/linux/mediatek/patches-5.4/1021-ubnt-ledbar-driver.patch [new file with mode: 0644]