Skip to content

hw/gpio: Convert GPIO devices to Resettable interface

Oscar Alejandro Sánchez Lucero qemu-arm qemu-devel qemu-riscv 1 version New

Get series with b4
b4 am [email protected] change-id 20261202-gpio-resettable-48db03e05854

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12hw/gpio/allwinner-gpio: Convert to Resettable interfacehw/gpio/allwinner-gpio.c+4 -30 replies
2/12hw/gpio/bcm2835_gpio: Convert to Resettable interfacehw/gpio/bcm2835_gpio.c+4 -30 replies
3/12hw/gpio/bcm2838_gpio: Convert to Resettable interfacehw/gpio/bcm2838_gpio.c+4 -30 replies
4/12hw/gpio/cadence_gpio: Convert to Resettable interfacehw/gpio/cadence_gpio.c+4 -30 replies
5/12hw/gpio/gpio_key: Convert to Resettable interfacehw/gpio/gpio_key.c+4 -30 replies
6/12hw/gpio/imx_gpio: Convert to Resettable interfacehw/gpio/imx_gpio.c+4 -30 replies
7/12hw/gpio/mpc8xxx: Convert to Resettable interfacehw/gpio/mpc8xxx.c+4 -30 replies
8/12hw/gpio/nrf51_gpio: Convert to Resettable interfacehw/gpio/nrf51_gpio.c+4 -30 replies
9/12hw/gpio/omap_gpio: Convert to Resettable interfacehw/gpio/omap_gpio.c+4 -30 replies
10/12hw/gpio/pca9554: Convert to Resettable interfacehw/gpio/pca9554.c+4 -30 replies
11/12hw/gpio/pcf8574: Convert to Resettable interfacehw/gpio/pcf8574.c+4 -30 replies
12/12hw/gpio/sifive_gpio: Convert to Resettable interfacehw/gpio/sifive_gpio.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] hw/gpio: Convert GPIO devices to Resettable interface

Convert all remaining GPIO device models in hw/gpio away from the deprecated device_class_set_legacy_reset() wrapper to the ResettableClass interface (hold phase), moving towards removing the legacy_reset callback from DeviceClass once all callers are migrated (as noted in include/hw/core/qdev.h).

---
Oscar Alejandro Sánchez Lucero (12):
hw/gpio/allwinner-gpio: Convert to Resettable interface hw/gpio/bcm2835_gpio: Convert to Resettable interface hw/gpio/bcm2838_gpio: Convert to Resettable interface hw/gpio/cadence_gpio: Convert to Resettable interface hw/gpio/gpio_key: Convert to Resettable interface hw/gpio/imx_gpio: Convert to Resettable interface hw/gpio/mpc8xxx: Convert to Resettable interface hw/gpio/nrf51_gpio: Convert to Resettable interface hw/gpio/omap_gpio: Convert to Resettable interface hw/gpio/pca9554: Convert to Resettable interface hw/gpio/pcf8574: Convert to Resettable interface hw/gpio/sifive_gpio: Convert to Resettable interface

 hw/gpio/allwinner-gpio.c | 7 ++++---
 hw/gpio/bcm2835_gpio.c   | 7 ++++---
 hw/gpio/bcm2838_gpio.c   | 7 ++++---
 hw/gpio/cadence_gpio.c   | 7 ++++---
 hw/gpio/gpio_key.c       | 7 ++++---
 hw/gpio/imx_gpio.c       | 7 ++++---
 hw/gpio/mpc8xxx.c        | 7 ++++---
 hw/gpio/nrf51_gpio.c     | 7 ++++---
 hw/gpio/omap_gpio.c      | 7 ++++---
 hw/gpio/pca9554.c        | 7 ++++---
 hw/gpio/pcf8574.c        | 7 ++++---
 hw/gpio/sifive_gpio.c    | 7 ++++---
 12 files changed, 48 insertions(+), 36 deletions(-)

---
base-commit: bbece0805c03c25f51a8cd89c39142f4f76a6567
change-id: 20261202-gpio-resettable-48db03e05854

Best regards,

Signature · 1 line
Oscar Alejandro Sánchez Lucero <[email protected]>