qemu-cr16/hw/gpio
Felix Wu 42fa4bd01a hw/gpio: Add property for ASPEED GPIO in 32 bits basis
Added 32 bits property for ASPEED GPIO. Previously it can only be
access in bitwise manner.

The changes to qobject is to index gpios with array indices on top of
accessing with registers.  This allows for easier gpio access,
especially in tests with complex behaviors that requires large number
of gpios at a time, like fault injection and networking behaviors.

Indexing multiple gpios at once allows qmp/side band client to no
longer hardcode and populate register names and manipulate them
faster.

Signed-off-by: Felix Wu <flwu@google.com>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/qemu-devel/20251015011830.1688468-2-lixiaoyan@google.com
[ clg: wrapped commit log lines ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-10-22 08:14:09 +02:00
..
aspeed_gpio.c hw/gpio: Add property for ASPEED GPIO in 32 bits basis 2025-10-22 08:14:09 +02:00
bcm2835_gpio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
bcm2838_gpio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
gpio_key.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
gpio_pwr.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
imx_gpio.c hw/gpio/imx_gpio: Fix interpretation of GDIR polarity 2025-05-06 15:02:35 +01:00
Kconfig hw/gpio/pca955*: Move Kconfig switches next to implementations 2025-02-25 15:32:58 +00:00
meson.build hw/gpio: Remove MAX7310 device 2024-10-15 15:16:17 +01:00
mpc8xxx.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
npcm7xx_gpio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
nrf51_gpio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
omap_gpio.c hw/arm: Replace TABs for spaces in OMAP board and device code 2025-05-14 14:29:47 +01:00
pca9552.c hw/gpio/pca9552: Avoid using g_newa() 2025-06-10 12:59:09 +02:00
pca9554.c hw/gpio/pca9554: Avoid leak in pca9554_set_pin() 2025-09-02 17:57:05 +02:00
pcf8574.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
pl061.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
sifive_gpio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
stm32l4x5_gpio.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/gpio/imx_gpio: Turn DPRINTF() into trace events 2025-01-13 17:16:04 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
zaurus.c hw/arm: Remove sl_bootparam_write() and 'hw/arm/sharpsl.h' header 2025-10-07 10:49:24 +01:00