diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-03-21 17:49:01 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-10-26 13:44:58 +0100 |
commit | c1b29826279b7405990ccb521d1fb5a24db2e58e (patch) | |
tree | 5995d7b339233b5186d51b32089f38a012a67b0b /hw/misc/Kconfig | |
parent | a5fac424c76d6401ecde4ecb7d846e656d0d6e89 (diff) | |
download | qemu-c1b29826279b7405990ccb521d1fb5a24db2e58e.zip qemu-c1b29826279b7405990ccb521d1fb5a24db2e58e.tar.gz qemu-c1b29826279b7405990ccb521d1fb5a24db2e58e.tar.bz2 |
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>
Diffstat (limited to 'hw/misc/Kconfig')
-rw-r--r-- | hw/misc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig index 3185456..e4d0595 100644 --- a/hw/misc/Kconfig +++ b/hw/misc/Kconfig @@ -126,6 +126,9 @@ config AUX config UNIMP bool +config LED + bool + config MAC_VIA bool select MOS6522 |