Skip to content

hw/arm/npcm7xx_gpio: Add some pin state QOM

Joe Komlodi qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/gpio/npcm7xx: Add GPIO DIN object propertyhw/gpio/npcm7xx_gpio.c+28 -00 replies
2/2hw/gpio/npcm7xx: Support qom-get on GPIO pin levelhw/gpio/npcm7xx_gpio.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] hw/arm/npcm7xx_gpio: Add some pin state QOM

Hi all,

This series adds a couple QOM properties for retrieving and setting pin state via qom-get and qom-get.

We ran into a situation in multi-SoC simulation where the BMC would need to update its input pin state based on behavior from the other SoC. It made the most sense to expose this over QMP, so this adds properties to allow people to do so.

Since the NPCM7xx is typically used to help manage other SoCs, hopefully other people will find this useful as well.

Thanks!
Joe

Joe Komlodi (2):
hw/gpio/npcm7xx: Add GPIO DIN object property hw/gpio/npcm7xx: Support qom-get on GPIO pin level

 hw/gpio/npcm7xx_gpio.c | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
Signature · 1 line
2.40.0.348.gf938b09366-goog