Skip to contentSkip to conversation

misc/pca955*: Move models under hw/gpio

PATCH In review Cédric Le Goater 6 participants 7 messages Mar 25, 2024 – Mar 26, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 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%)
MAINTAINERS +2 -2
index 409d7db4d457..a07af6b9d48e 100644
@@ -1549,8 +1549,8 @@ M: Glenn Miles <[email protected]>
 L: [email protected]
 L: [email protected]
 S: Odd Fixes
-F: hw/misc/pca955*.c
-F: include/hw/misc/pca955*.h
+F: hw/gpio/pca955*.c
+F: include/hw/gpio/pca955*.h
 
 virtex_ml507
 M: Edgar E. Iglesias <[email protected]>
include/hw/gpio/pca9552.h renamed from include/hw/misc/pca9552.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9552.h
rename to include/hw/gpio/pca9552.h
include/hw/gpio/pca9552_regs.h renamed from include/hw/misc/pca9552_regs.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9552_regs.h
rename to include/hw/gpio/pca9552_regs.h
include/hw/gpio/pca9554.h renamed from include/hw/misc/pca9554.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9554.h
rename to include/hw/gpio/pca9554.h
include/hw/gpio/pca9554_regs.h renamed from include/hw/misc/pca9554_regs.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9554_regs.h
rename to include/hw/gpio/pca9554_regs.h
hw/arm/aspeed.c +1 -1
index 729f66941462..badf6f6fa09d 100644
@@ -18,7 +18,7 @@
 #include "hw/block/flash.h"
 #include "hw/i2c/i2c_mux_pca954x.h"
 #include "hw/i2c/smbus_eeprom.h"
-#include "hw/misc/pca9552.h"
+#include "hw/gpio/pca9552.h"
 #include "hw/nvram/eeprom_at24c.h"
 #include "hw/sensor/tmp105.h"
 #include "hw/misc/led.h"
hw/gpio/pca9552.c renamed from hw/misc/pca9552.c +2 -2
similarity index 99%
rename from hw/misc/pca9552.c
rename to hw/gpio/pca9552.c
index 2ae13af35e93..27d4db068095 100644
@@ -15,8 +15,8 @@
 #include "qemu/module.h"
 #include "qemu/bitops.h"
 #include "hw/qdev-properties.h"
-#include "hw/misc/pca9552.h"
-#include "hw/misc/pca9552_regs.h"
+#include "hw/gpio/pca9552.h"
+#include "hw/gpio/pca9552_regs.h"
 #include "hw/irq.h"
 #include "migration/vmstate.h"
 #include "qapi/error.h"
hw/gpio/pca9554.c renamed from hw/misc/pca9554.c +2 -2
similarity index 99%
rename from hw/misc/pca9554.c
rename to hw/gpio/pca9554.c
index 5e31696797d9..7d10a64ba7c1 100644
@@ -11,8 +11,8 @@
 #include "qemu/module.h"
 #include "qemu/bitops.h"
 #include "hw/qdev-properties.h"
-#include "hw/misc/pca9554.h"
-#include "hw/misc/pca9554_regs.h"
+#include "hw/gpio/pca9554.h"
+#include "hw/gpio/pca9554_regs.h"
 #include "hw/irq.h"
 #include "migration/vmstate.h"
 #include "qapi/error.h"
tests/qtest/pca9552-test.c +1 -1
index ccca2b3d9140..747495769239 100644
@@ -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
tests/qtest/pnv-host-i2c-test.c +2 -2
index c6351772520c..7f64d597ac1d 100644
@@ -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))
hw/gpio/meson.build +2 -0
index 791e93a97bcc..a7495d196ae9 100644
@@ -2,6 +2,8 @@ system_ss.add(when: 'CONFIG_GPIO_KEY', if_true: files('gpio_key.c'))
 system_ss.add(when: 'CONFIG_GPIO_MPC8XXX', if_true: files('mpc8xxx.c'))
 system_ss.add(when: 'CONFIG_GPIO_PWR', if_true: files('gpio_pwr.c'))
 system_ss.add(when: 'CONFIG_MAX7310', if_true: files('max7310.c'))
+system_ss.add(when: 'CONFIG_PCA9552', if_true: files('pca9552.c'))
+system_ss.add(when: 'CONFIG_PCA9554', if_true: files('pca9554.c'))
 system_ss.add(when: 'CONFIG_PL061', if_true: files('pl061.c'))
 system_ss.add(when: 'CONFIG_ZAURUS', if_true: files('zaurus.c'))
 
hw/gpio/trace-events +4 -0
index 9331f4289d5a..b91cc7e9a45d 100644
@@ -13,6 +13,10 @@ nrf51_gpio_write(uint64_t offset, uint64_t value) "offset 0x%" PRIx64 " value 0x
 nrf51_gpio_set(int64_t line, int64_t value) "line %" PRIi64 " value %" PRIi64
 nrf51_gpio_update_output_irq(int64_t line, int64_t value) "line %" PRIi64 " value %" PRIi64
 
+# pca9552.c
+pca955x_gpio_status(const char *description, const char *buf) "%s GPIOs 0-15 [%s]"
+pca955x_gpio_change(const char *description, unsigned id, unsigned prev_state, unsigned current_state) "%s GPIO id:%u status: %u -> %u"
+
 # pl061.c
 pl061_update(const char *id, uint32_t dir, uint32_t data, uint32_t pullups, uint32_t floating) "%s GPIODIR 0x%x GPIODATA 0x%x pullups 0x%x floating 0x%x"
 pl061_set_output(const char *id, int gpio, int level) "%s setting output %d to %d"
hw/misc/meson.build +0 -2
index 8e1ddc00f9b2..dd6cf89a5449 100644
@@ -3,8 +3,6 @@ system_ss.add(when: 'CONFIG_EDU', if_true: files('edu.c'))
 system_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true: files('vmcoreinfo.c'))
 system_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugexit.c'))
 system_ss.add(when: 'CONFIG_ISA_TESTDEV', if_true: files('pc-testdev.c'))
-system_ss.add(when: 'CONFIG_PCA9552', if_true: files('pca9552.c'))
-system_ss.add(when: 'CONFIG_PCA9554', if_true: files('pca9554.c'))
 system_ss.add(when: 'CONFIG_PCI_TESTDEV', if_true: files('pci-testdev.c'))
 system_ss.add(when: 'CONFIG_UNIMP', if_true: files('unimp.c'))
 system_ss.add(when: 'CONFIG_EMPTY_SLOT', if_true: files('empty_slot.c'))
hw/misc/trace-events +0 -4
index 0374eb33ac52..4896001f35de 100644
@@ -340,10 +340,6 @@ grlib_apb_pnp_read(uint64_t addr, unsigned size, uint32_t value) "APB PnP read a
 led_set_intensity(const char *color, const char *desc, uint8_t intensity_percent) "LED desc:'%s' color:%s intensity: %u%%"
 led_change_intensity(const char *color, const char *desc, uint8_t old_intensity_percent, uint8_t new_intensity_percent) "LED desc:'%s' color:%s intensity %u%% -> %u%%"
 
-# pca9552.c
-pca955x_gpio_status(const char *description, const char *buf) "%s GPIOs 0-15 [%s]"
-pca955x_gpio_change(const char *description, unsigned id, unsigned prev_state, unsigned current_state) "%s GPIO id:%u status: %u -> %u"
-
 # bcm2835_cprman.c
 bcm2835_cprman_read(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
 bcm2835_cprman_write(uint64_t offset, uint64_t value) "offset:0x%" PRIx64 " value:0x%" PRIx64
Signature · 1 line
2.44.0
Reviewed-by on v1 1/1
#2 lore raw
In reply to Cédric Le Goater

Thanks for doing this, Cédric!

-Glenn

Quoted 220 lines · Cédric Le Goater

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.

---
 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%)
MAINTAINERS +2 -2
index 409d7db4d457..a07af6b9d48e 100644
@@ -1549,8 +1549,8 @@ M: Glenn Miles <[email protected]>
 L: [email protected]
 L: [email protected]
 S: Odd Fixes
-F: hw/misc/pca955*.c
-F: include/hw/misc/pca955*.h
+F: hw/gpio/pca955*.c
+F: include/hw/gpio/pca955*.h
 
 virtex_ml507
 M: Edgar E. Iglesias <[email protected]>
include/hw/gpio/pca9552.h renamed from include/hw/misc/pca9552.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9552.h
rename to include/hw/gpio/pca9552.h
include/hw/gpio/pca9552_regs.h renamed from include/hw/misc/pca9552_regs.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9552_regs.h
rename to include/hw/gpio/pca9552_regs.h
include/hw/gpio/pca9554.h renamed from include/hw/misc/pca9554.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9554.h
rename to include/hw/gpio/pca9554.h
include/hw/gpio/pca9554_regs.h renamed from include/hw/misc/pca9554_regs.h +0 -0
similarity index 100%
rename from include/hw/misc/pca9554_regs.h
rename to include/hw/gpio/pca9554_regs.h
hw/arm/aspeed.c +1 -1
index 729f66941462..badf6f6fa09d 100644
@@ -18,7 +18,7 @@
 #include "hw/block/flash.h"
 #include "hw/i2c/i2c_mux_pca954x.h"
 #include "hw/i2c/smbus_eeprom.h"
-#include "hw/misc/pca9552.h"
+#include "hw/gpio/pca9552.h"
 #include "hw/nvram/eeprom_at24c.h"
 #include "hw/sensor/tmp105.h"
 #include "hw/misc/led.h"
hw/gpio/pca9552.c renamed from hw/misc/pca9552.c +2 -2
similarity index 99%
rename from hw/misc/pca9552.c
rename to hw/gpio/pca9552.c
index 2ae13af35e93..27d4db068095 100644
@@ -15,8 +15,8 @@
 #include "qemu/module.h"
 #include "qemu/bitops.h"
 #include "hw/qdev-properties.h"
-#include "hw/misc/pca9552.h"
-#include "hw/misc/pca9552_regs.h"
+#include "hw/gpio/pca9552.h"
+#include "hw/gpio/pca9552_regs.h"
 #include "hw/irq.h"
 #include "migration/vmstate.h"
 #include "qapi/error.h"
hw/gpio/pca9554.c renamed from hw/misc/pca9554.c +2 -2
similarity index 99%
rename from hw/misc/pca9554.c
rename to hw/gpio/pca9554.c
index 5e31696797d9..7d10a64ba7c1 100644
@@ -11,8 +11,8 @@
 #include "qemu/module.h"
 #include "qemu/bitops.h"
 #include "hw/qdev-properties.h"
-#include "hw/misc/pca9554.h"
-#include "hw/misc/pca9554_regs.h"
+#include "hw/gpio/pca9554.h"
+#include "hw/gpio/pca9554_regs.h"
 #include "hw/irq.h"
 #include "migration/vmstate.h"
 #include "qapi/error.h"
tests/qtest/pca9552-test.c +1 -1
index ccca2b3d9140..747495769239 100644
@@ -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
tests/qtest/pnv-host- renamed from tests/qtest/pnv-host-i2c-test.c +0 -0

i2c-test.c
index c6351772520c..7f64d597ac1d 100644

tests/qtest/pnv-host-i2c-test.c +2 -2
@@ -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))
hw/gpio/meson.build +2 -0
index 791e93a97bcc..a7495d196ae9 100644
@@ -2,6 +2,8 @@ system_ss.add(when: 'CONFIG_GPIO_KEY', if_true:
 files('gpio_key.c'))
 system_ss.add(when: 'CONFIG_GPIO_MPC8XXX', if_true:
 files('mpc8xxx.c'))
 system_ss.add(when: 'CONFIG_GPIO_PWR', if_true: files('gpio_pwr.c'))
 system_ss.add(when: 'CONFIG_MAX7310', if_true: files('max7310.c'))
+system_ss.add(when: 'CONFIG_PCA9552', if_true: files('pca9552.c'))
+system_ss.add(when: 'CONFIG_PCA9554', if_true: files('pca9554.c'))
 system_ss.add(when: 'CONFIG_PL061', if_true: files('pl061.c'))

system_ss.add(when: 'CONFIG_ZAURUS', if_true: files('zaurus.c'))

hw/gpio/trace-events +0 -0
index 9331f4289d5a..b91cc7e9a45d 100644
@@ -13,6 +13,10 @@ nrf51_gpio_write(uint64_t offset, uint64_t value)

"offset 0x%" PRIx64 " value 0x
nrf51_gpio_set(int64_t line, int64_t value) "line %" PRIi64 " value
%" PRIi64
nrf51_gpio_update_output_irq(int64_t line, int64_t value) "line %"
PRIi64 " value %" PRIi64

hw/gpio/trace-events +2 -0
+# pca9552.c
+pca955x_gpio_status(const char *description, const char *buf) "%s

GPIOs 0-15 [%s]"
+pca955x_gpio_change(const char *description, unsigned id, unsigned prev_state, unsigned current_state) "%s GPIO id:%u status: %u -> %u" +

 # pl061.c
 pl061_update(const char *id, uint32_t dir, uint32_t data, uint32_t
pullups, uint32_t floating) "%s GPIODIR 0x%x GPIODATA 0x%x pullups
0x%x floating 0x%x"
 pl061_set_output(const char *id, int gpio, int level) "%s setting
output %d to %d"
hw/misc/meson.build +0 -0
index 8e1ddc00f9b2..dd6cf89a5449 100644
@@ -3,8 +3,6 @@ system_ss.add(when: 'CONFIG_EDU', if_true:
 files('edu.c'))
 system_ss.add(when: 'CONFIG_FW_CFG_DMA', if_true:
 files('vmcoreinfo.c'))
 system_ss.add(when: 'CONFIG_ISA_DEBUG', if_true:
 files('debugexit.c'))
 system_ss.add(when: 'CONFIG_ISA_TESTDEV', if_true: files('pc-

testdev.c'))

hw/misc/meson.build +0 -2
-system_ss.add(when: 'CONFIG_PCA9552', if_true: files('pca9552.c'))
-system_ss.add(when: 'CONFIG_PCA9554', if_true: files('pca9554.c'))
 system_ss.add(when: 'CONFIG_PCI_TESTDEV', if_true: files('pci-

testdev.c'))
system_ss.add(when: 'CONFIG_UNIMP', if_true: files('unimp.c')) system_ss.add(when: 'CONFIG_EMPTY_SLOT', if_true:
files('empty_slot.c'))

hw/misc/trace-events +0 -0
index 0374eb33ac52..4896001f35de 100644
@@ -340,10 +340,6 @@ grlib_apb_pnp_read(uint64_t addr, unsigned size,

uint32_t value) "APB PnP read a
led_set_intensity(const char *color, const char *desc, uint8_t
intensity_percent) "LED desc:'%s' color:%s intensity: %u%%"
led_change_intensity(const char *color, const char *desc, uint8_t
old_intensity_percent, uint8_t new_intensity_percent) "LED desc:'%s' color:%s intensity %u%% -> %u%%"

hw/misc/trace-events +0 -2
-# pca9552.c
-pca955x_gpio_status(const char *description, const char *buf) "%s

GPIOs 0-15 [%s]"
-pca955x_gpio_change(const char *description, unsigned id, unsigned prev_state, unsigned current_state) "%s GPIO id:%u status: %u -> %u" -

 # bcm2835_cprman.c
 bcm2835_cprman_read(uint64_t offset, uint64_t value) "offset:0x%"
PRIx64 " value:0x%" PRIx64
 bcm2835_cprman_write(uint64_t offset, uint64_t value) "offset:0x%"
PRIx64 " value:0x%" PRIx64
#4 lore raw
In reply to Cédric Le Goater
Quoted 22 lines · Cédric Le Goater

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.

---
  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(-)
Quoted 6 lines

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.

#5 lore raw
Quoted 30 lines · Philippe Mathieu-Daudé
Quoted 21 lines · Cédric Le Goater

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.

---
  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 ----

Quoted 7 lines
  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%)

Quoted 1 line

Thanks, patch queued.

This one is merged,

https://gitlab.com/qemu-project/qemu/-/commit/6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63

Thanks,

C.

#6 lore raw
Quoted 31 lines · Cédric Le Goater
Quoted 30 lines · Philippe Mathieu-Daudé
Quoted 28 lines · Cédric Le Goater

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.

---
  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%)

Quoted 5 lines
Quoted 1 line

Thanks, patch queued.

This one is merged,

https://gitlab.com/qemu-project/qemu/-/commit/6328d8ffa6cb9d750e4bfcfd73ac25d3a39ceb63

Yes I just realized when updating my tree that Thomas sent a PR with your patches. Sorry for the noise.

Quoted 6 lines

Thanks,

C.