mac_newworld: add gpios to macio devices with PMU enabled
commit7c4166a971b54a65900d9624ccd9669ba99d75ad
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 12 Jun 2018 16:43:58 +0000 (12 17:43 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 16 Jun 2018 06:32:33 +0000 (16 16:32 +1000)
treea3217491665ad013d2359e57ee0ac9a90e75aebd
parentf1114c17eeda907d0a290f25f970d695fc3b16de
mac_newworld: add gpios to macio devices with PMU enabled

PMU-enabled New World Macs expose their GPIOs via a separate memory region
within the macio device.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
default-configs/ppc-softmmu.mak
hw/misc/macio/Makefile.objs
hw/misc/macio/gpio.c [new file with mode: 0644]
hw/misc/macio/macio.c
hw/misc/macio/trace-events
hw/ppc/mac.h
include/hw/misc/macio/gpio.h [new file with mode: 0644]
include/hw/misc/macio/macio.h