hw/misc/led: Add a LED device
commitc1b29826279b7405990ccb521d1fb5a24db2e58e
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 21 Mar 2020 16:49:01 +0000 (21 17:49 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 26 Oct 2020 12:44:58 +0000 (26 13:44 +0100)
tree5995d7b339233b5186d51b32089f38a012a67b0b
parenta5fac424c76d6401ecde4ecb7d846e656d0d6e89
hw/misc/led: Add a LED device

Add a LED device which can be connected to a GPIO output.
They can also be dimmed with PWM devices. For now we do
not implement the dimmed mode, but in preparation of a
future implementation, we start using the LED intensity.

LEDs are limited to a fixed set of colors.

Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200912134041.946260-2-f4bug@amsat.org>
MAINTAINERS
hw/misc/Kconfig
hw/misc/led.c [new file with mode: 0644]
hw/misc/meson.build
hw/misc/trace-events
include/hw/misc/led.h [new file with mode: 0644]