Re: [PATCH v3 1/7] hw/misc: Add a LED device

2020-06-21 Thread Richard Henderson
On 6/21/20 1:35 PM, Philippe Mathieu-Daudé wrote: >> Is color especially interesting, given that we only actually "display" the >> color via tracing? > > The idea of this device is to easily visualize events. Currently > via tracing, but eventually an external UI could introspect the > board for

Re: [PATCH v3 1/7] hw/misc: Add a LED device

2020-06-21 Thread Philippe Mathieu-Daudé
Hi Richard, On 6/21/20 4:00 AM, Richard Henderson wrote: > On 6/20/20 4:07 PM, Philippe Mathieu-Daudé wrote: >> Add a LED device which can be connected to a GPIO output. >> LEDs are limited to a set of colors. >> They can also be dimmed with PWM devices. For now we do >> not implement the dimmed

Re: [PATCH v3 1/7] hw/misc: Add a LED device

2020-06-20 Thread Richard Henderson
On 6/20/20 4:07 PM, Philippe Mathieu-Daudé wrote: > Add a LED device which can be connected to a GPIO output. > LEDs are limited to a set of colors. > 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

[PATCH v3 1/7] hw/misc: Add a LED device

2020-06-20 Thread Philippe Mathieu-Daudé
Add a LED device which can be connected to a GPIO output. LEDs are limited to a set of colors. 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. When used with GPIOs, the intensity