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 00:15:33 +0000 (01:15 +0100)
commitc9137e2ddf97ede1db399dc38acff26feb48ba7e
tree474c00a369fd53d2bf4e9067c2adc70220f55b2b
parentf323dec4f866d9ea75eae11c6762d0144d100628
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>
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]