[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] hw/arm/npcm7xx_gpio: Add some pin state QOM
From: |
Joe Komlodi |
Subject: |
[PATCH 0/2] hw/arm/npcm7xx_gpio: Add some pin state QOM |
Date: |
Thu, 6 Apr 2023 00:24:45 +0000 |
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(+)
--
2.40.0.348.gf938b09366-goog
- [PATCH 0/2] hw/arm/npcm7xx_gpio: Add some pin state QOM,
Joe Komlodi <=