misc/pca955*: Move models under hw/gpio
authorCédric Le Goater <clg@redhat.com>
Mon, 25 Mar 2024 13:48:32 +0000 (14:48 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 25 Mar 2024 14:05:38 +0000 (15:05 +0100)
commit6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63
tree07639dcded649a542df4da9750eb4514f65591ce
parent1967e9e06709c2b3de8b071d94da3856ba5b1ce6
misc/pca955*: Move models under hw/gpio

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>
Message-ID: <20240325134833.1484265-1-clg@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
20 files changed:
MAINTAINERS
hw/arm/aspeed.c
hw/gpio/meson.build
hw/gpio/pca9552.c [new file with mode: 0644]
hw/gpio/pca9554.c [new file with mode: 0644]
hw/gpio/trace-events
hw/misc/meson.build
hw/misc/pca9552.c [deleted file]
hw/misc/pca9554.c [deleted file]
hw/misc/trace-events
include/hw/gpio/pca9552.h [new file with mode: 0644]
include/hw/gpio/pca9552_regs.h [new file with mode: 0644]
include/hw/gpio/pca9554.h [new file with mode: 0644]
include/hw/gpio/pca9554_regs.h [new file with mode: 0644]
include/hw/misc/pca9552.h [deleted file]
include/hw/misc/pca9552_regs.h [deleted file]
include/hw/misc/pca9554.h [deleted file]
include/hw/misc/pca9554_regs.h [deleted file]
tests/qtest/pca9552-test.c
tests/qtest/pnv-host-i2c-test.c