mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
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>
This commit is contained in:
committed by
Thomas Huth
parent
1967e9e067
commit
6328d8ffa6
@ -12,7 +12,7 @@
|
||||
#include "libqtest.h"
|
||||
#include "libqos/qgraph.h"
|
||||
#include "libqos/i2c.h"
|
||||
#include "hw/misc/pca9552_regs.h"
|
||||
#include "hw/gpio/pca9552_regs.h"
|
||||
|
||||
#define PCA9552_TEST_ID "pca9552-test"
|
||||
#define PCA9552_TEST_ADDR 0x60
|
||||
|
@ -8,8 +8,8 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "libqtest.h"
|
||||
#include "hw/misc/pca9554_regs.h"
|
||||
#include "hw/misc/pca9552_regs.h"
|
||||
#include "hw/gpio/pca9554_regs.h"
|
||||
#include "hw/gpio/pca9552_regs.h"
|
||||
#include "pnv-xscom.h"
|
||||
|
||||
#define PPC_BIT(bit) (0x8000000000000000ULL >> (bit))
|
||||
|
Reference in New Issue
Block a user