On 3/26/24 10:55, Philippe Mathieu-Daudé wrote:
On 25/3/24 14:48, Cédric Le Goater wrote:
The PCA9552 and PCA9554 devices are both I2C GPIO controllers and the
PCA9552 also can drive LEDs. Do all the necessary adjustments to move
the models under hw/gpio.
Cc: Glenn Miles <milesg@linux.vnet.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
MAINTAINERS | 4 ++--
include/hw/{misc => gpio}/pca9552.h | 0
include/hw/{misc => gpio}/pca9552_regs.h | 0
include/hw/{misc => gpio}/pca9554.h | 0
include/hw/{misc => gpio}/pca9554_regs.h | 0
hw/arm/aspeed.c | 2 +-
hw/{misc => gpio}/pca9552.c | 4 ++--
hw/{misc => gpio}/pca9554.c | 4 ++--
tests/qtest/pca9552-test.c | 2 +-
tests/qtest/pnv-host-i2c-test.c | 4 ++--
hw/gpio/meson.build | 2 ++
hw/gpio/trace-events | 4 ++++
hw/misc/meson.build | 2 --
hw/misc/trace-events | 4 ----
14 files changed, 16 insertions(+), 16 deletions(-)
rename include/hw/{misc => gpio}/pca9552.h (100%)
rename include/hw/{misc => gpio}/pca9552_regs.h (100%)
rename include/hw/{misc => gpio}/pca9554.h (100%)
rename include/hw/{misc => gpio}/pca9554_regs.h (100%)
rename hw/{misc => gpio}/pca9552.c (99%)
rename hw/{misc => gpio}/pca9554.c (99%)
Thanks, patch queued.
This one is merged,
https://gitlab.com/qemu-project/qemu/-/commit/6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63