mediatek: add support for reset gpio
authorSven Wegener <sven.wegener@stealer.net>
Sat, 12 Jun 2021 19:56:22 +0000 (21:56 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 18 Sep 2022 14:39:41 +0000 (15:39 +0100)
commit26cd0c1ee93c9c986367927394776071e28d3f86
tree0850baaaa1b36dca6c2e50355e3d7638711e5185
parentb5665a004526aff62b07d7c729f8ef9e9d98a8e7
mediatek: add support for reset gpio

Some versions of the ledbar MCU have a reset pin. It needs to be
correctly initialized or we might keep the MCU in reset state.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
(cherry picked from commit 84e4bbf5f049cdb862eb25c446bd6973ed4238aa)
target/linux/mediatek/files-5.10/drivers/leds/leds-ubnt-ledbar.c