]> git.proxmox.com Git - mirror_qemu.git/commit
ppc/pnv: Connect I2C controller model to powernv9 chip
authorCédric Le Goater <clg@kaod.org>
Mon, 16 Oct 2023 22:20:13 +0000 (17:20 -0500)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 7 Nov 2023 18:49:41 +0000 (15:49 -0300)
commit5f0661215454959e98f69e7d3933e793d884282d
treedf3fa7dbc09c1f91f051e4f0aef6253fac13b821
parent263b81ee15af05cbb2ad284aadabb0981a19c941
ppc/pnv: Connect I2C controller model to powernv9 chip

Wires up three I2C controller instances to the powernv9 chip
XSCOM address space.

Each controller instance is wired up to a single I2C bus of
its own.  No other I2C devices are connected to the buses
at this time.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
[milesg: Split wiring from addition of model itself]
[milesg: Added new commit message]
[milesg: Moved hardcoded attributes into PnvChipClass]
[milesg: Removed TODO comment for I2C]
Signed-off-by: Glenn Miles <milesg@linux.vnet.ibm.com>
Acked-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-ID: <20231016222013.3739530-3-milesg@linux.vnet.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/pnv.c
include/hw/ppc/pnv_chip.h