On 6/20/20 4:07 PM, Philippe Mathieu-Daudé wrote: > Some devices expose GPIO lines. Add the create_led_by_gpio_id() > helper to connect a LED to such GPIO. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > Adding support for named GPIO is trivial. We don't need it yet. > --- > include/hw/misc/led.h | 20 ++++++++++++++++++++ > hw/misc/led.c | 25 +++++++++++++++++++++++++ > 2 files changed, 45 insertions(+)
Modulo my question re colors, looks good. Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~