qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] hw/misc: Add LED device
@ 2020-09-07 16:32 Philippe Mathieu-Daudé
  2020-09-07 16:32 ` [PATCH v4 1/8] hw/misc/led: Add a " Philippe Mathieu-Daudé
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-09-07 16:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Andrew Jeffery, Joaquin de Andres,
	Philippe Mathieu-Daudé, qemu-arm, Cédric Le Goater,
	Luc Michel, Joel Stanley

Hello,

These patches are part of the GSoC unselected 'QEMU visualizer'
project.

This series introduce a LED device that can be easily connected
to a GPIO output.

Since v3:
- Rebased (TYPE_TOSA_MISC_GPIO)
- Rebased (Meson)
- Addressed Richard's review comments
- Improved doc/comments

Since v2:
- Rebased on PCA9552
- Model intensity to be ready for PWM use (Dave)
- Remove QMP events until we get a UI visualizer (Peter)
- Remove microbit patch (Peter)

Since v1: addressed Eric Blake review comments
- Added QMP rate limit

Next steps planned:

- PoC visualizer...
- look at using a dbus backend (elmarco)
- look at LED array/matrix such 7segments.

Regards,

Phil.

v3: https://www.mail-archive.com/qemu-devel@nongnu.org/msg714663.html

Philippe Mathieu-Daudé (8):
  hw/misc/led: Add a LED device
  hw/misc/led: Allow connecting from GPIO output
  hw/misc/led: Emit a trace event when LED intensity has changed
  hw/arm/aspeed: Add the 3 front LEDs drived by the PCA9552 #1
  hw/misc/mps2-fpgaio: Use the LED device
  hw/misc/mps2-scc: Use the LED device
  hw/arm/tosa: Replace fprintf() calls by LED devices
  hw/arm/tosa: Make TYPE_TOSA_MISC_GPIO a plain QDev

 include/hw/misc/led.h         |  92 +++++++++++++++++++
 include/hw/misc/mps2-fpgaio.h |   2 +
 include/hw/misc/mps2-scc.h    |   2 +
 include/hw/qdev-core.h        |   8 ++
 hw/arm/aspeed.c               |  20 +++++
 hw/arm/tosa.c                 |  53 +++++------
 hw/misc/led.c                 | 161 ++++++++++++++++++++++++++++++++++
 hw/misc/mps2-fpgaio.c         |  19 ++--
 hw/misc/mps2-scc.c            |  25 +++---
 MAINTAINERS                   |   6 ++
 hw/arm/Kconfig                |   2 +
 hw/misc/Kconfig               |   5 ++
 hw/misc/meson.build           |   1 +
 hw/misc/trace-events          |   6 +-
 14 files changed, 354 insertions(+), 48 deletions(-)
 create mode 100644 include/hw/misc/led.h
 create mode 100644 hw/misc/led.c

-- 
2.26.2



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-09-08 10:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-07 16:32 [PATCH v4 0/8] hw/misc: Add LED device Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 1/8] hw/misc/led: Add a " Philippe Mathieu-Daudé
2020-09-07 20:03   ` Luc Michel
2020-09-07 20:24     ` Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 2/8] hw/misc/led: Allow connecting from GPIO output Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 3/8] hw/misc/led: Emit a trace event when LED intensity has changed Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 4/8] hw/arm/aspeed: Add the 3 front LEDs drived by the PCA9552 #1 Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 5/8] hw/misc/mps2-fpgaio: Use the LED device Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 6/8] hw/misc/mps2-scc: " Philippe Mathieu-Daudé
2020-09-07 16:32 ` [PATCH v4 7/8] hw/arm/tosa: Replace fprintf() calls by LED devices Philippe Mathieu-Daudé
2020-09-07 16:32 ` [RFC PATCH v4 8/8] hw/arm/tosa: Make TYPE_TOSA_MISC_GPIO a plain QDev Philippe Mathieu-Daudé
2020-09-08  7:54   ` Markus Armbruster
2020-09-08 10:04     ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).