qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Glenn Miles <milesg@linux.vnet.ibm.com>
To: qemu-ppc@nongnu.org
Cc: Glenn Miles <milesg@linux.vnet.ibm.com>,
	qemu-devel@nongnu.org, clg@kaod.org, clegoate@redhat.com,
	npiggin@gmail.com, fbarrat@linux.ibm.com
Subject: [PATCH 0/2] Add PowerNV I2C Controller Model
Date: Tue, 10 Oct 2023 12:19:49 -0500	[thread overview]
Message-ID: <20231010171951.4165180-1-milesg@linux.vnet.ibm.com> (raw)

Upstreams the PowerNV I2C controller model originally
authored by Cédric Le Goater with minor changes by
myself to split the actual addition of the model from
wiring it up to a power processor model.

This series only attaches the controller to the powernv9
chip model, but is expected to eventually also be attached
to the powernv10 chip model.

Cédric Le Goater (2):
  ppc/pnv: Add an I2C controller model
  ppc/pnv: Connect I2C controller model to powernv9 chip

 hw/ppc/meson.build         |   1 +
 hw/ppc/pnv.c               |  26 ++
 hw/ppc/pnv_i2c.c           | 680 +++++++++++++++++++++++++++++++++++++
 include/hw/ppc/pnv_chip.h  |   4 +
 include/hw/ppc/pnv_i2c.h   |  41 +++
 include/hw/ppc/pnv_xscom.h |   3 +
 6 files changed, 755 insertions(+)
 create mode 100644 hw/ppc/pnv_i2c.c
 create mode 100644 include/hw/ppc/pnv_i2c.h

-- 
2.31.1



             reply	other threads:[~2023-10-10 19:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10 17:19 Glenn Miles [this message]
2023-10-10 17:19 ` [PATCH 1/2] ppc/pnv: Add an I2C controller model Glenn Miles
2023-10-10 20:10   ` Cédric Le Goater
2023-10-12 17:36     ` Miles Glenn
2023-10-10 17:19 ` [PATCH 2/2] ppc/pnv: Connect I2C controller model to powernv9 chip Glenn Miles
2023-10-10 20:14   ` Cédric Le Goater
2023-10-12 17:28     ` Miles Glenn

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=20231010171951.4165180-1-milesg@linux.vnet.ibm.com \
    --to=milesg@linux.vnet.ibm.com \
    --cc=clegoate@redhat.com \
    --cc=clg@kaod.org \
    --cc=fbarrat@linux.ibm.com \
    --cc=npiggin@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /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).