OSDN Git Service

leds: leds-mt6323: Add support for WLEDs and MT6332
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 1 Jun 2023 11:08:13 +0000 (13:08 +0200)
committerLee Jones <lee@kernel.org>
Fri, 9 Jun 2023 06:44:15 +0000 (07:44 +0100)
commit9bb0a9e0626ccaaff268de12d4cde4d4c3c3c9d7
tree7bda73603351a2f3df508462e0d89f995b0e2577
parent9540989ca85b91a34ecde8877f385a299c9c1ccc
leds: leds-mt6323: Add support for WLEDs and MT6332

Add basic code to turn on and off WLEDs and wire up MT6332 support
to take advantage of it.
This is a simple approach due to the aforementioned PMIC supporting
only on/off status so, at the time of writing, it is impossible for me
to validate more advanced functionality due to lack of hardware.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230601110813.2373764-9-angelogioacchino.delregno@collabora.com
drivers/leds/leds-mt6323.c