From: Joe Komlodi <komlodi@google.com>
To: qemu-devel@nongnu.org
Cc: komlodi@google.com, wuhaotsh@google.com, kfting@nuvoton.com,
qemu-arm@nongnu.org
Subject: [PATCH 0/2] hw/arm/npcm7xx_gpio: Add some pin state QOM
Date: Thu, 6 Apr 2023 00:24:45 +0000 [thread overview]
Message-ID: <20230406002447.4046378-1-komlodi@google.com> (raw)
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
next reply other threads:[~2023-04-06 0:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-06 0:24 Joe Komlodi [this message]
2023-04-06 0:24 ` [PATCH 1/2] hw/gpio/npcm7xx: Add GPIO DIN object property Joe Komlodi
2023-04-06 0:24 ` [PATCH 2/2] hw/gpio/npcm7xx: Support qom-get on GPIO pin level Joe Komlodi
2023-04-13 12:51 ` [PATCH 0/2] hw/arm/npcm7xx_gpio: Add some pin state QOM Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230406002447.4046378-1-komlodi@google.com \
--to=komlodi@google.com \
--cc=kfting@nuvoton.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=wuhaotsh@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).