mbox series

[for-8.2,0/3] pnv/lpc: Hook up xscoms for LPC

Message ID 20230808083445.4613-1-joel@jms.id.au (mailing list archive)
Headers show
Series pnv/lpc: Hook up xscoms for LPC | expand

Message

Joel Stanley Aug. 8, 2023, 8:34 a.m. UTC
P8 used xscoms for accessing the LPC bus. In P9 the LPC bus was memory
mapped, simplifying access, however the xscom registers remained. Some
firmwares use this method on P9 and P10, so wire it up in qemu.

The third patch is a hack that shows how to test this access method with
skiboot. It should not be applied.

Joel Stanley (3):
  pnv/lpc: Place mmio regs in their own memory region
  pnv/lpc: Hook up xscom region for P9/P10
  HACK: pnv/lpc: Set up XSCOM dt for P9

 include/hw/ppc/pnv_lpc.h   |  3 ++-
 include/hw/ppc/pnv_xscom.h |  6 ++++++
 hw/ppc/pnv.c               |  8 ++++++--
 hw/ppc/pnv_lpc.c           | 13 ++++++++++++-
 4 files changed, 26 insertions(+), 4 deletions(-)