You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/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>
1 day ago
..
Kconfig hw/gpio/pca955*: Move Kconfig switches next to implementations 8 months ago
aspeed_gpio.c hw/gpio: Add property for ASPEED GPIO in 32 bits basis 1 day ago
bcm2835_gpio.c qom: Have class_init() take a const data argument 6 months ago
bcm2838_gpio.c qom: Have class_init() take a const data argument 6 months ago
gpio_key.c qom: Have class_init() take a const data argument 6 months ago
gpio_pwr.c include: Rename sysemu/ -> system/ 10 months ago
imx_gpio.c hw/gpio/imx_gpio: Fix interpretation of GDIR polarity 6 months ago
meson.build hw/gpio: Remove MAX7310 device 1 year ago
mpc8xxx.c qom: Have class_init() take a const data argument 6 months ago
npcm7xx_gpio.c qom: Have class_init() take a const data argument 6 months ago
nrf51_gpio.c qom: Have class_init() take a const data argument 6 months ago
omap_gpio.c hw/arm: Replace TABs for spaces in OMAP board and device code 5 months ago
pca9552.c hw/gpio/pca9552: Avoid using g_newa() 5 months ago
pca9554.c hw/gpio/pca9554: Avoid leak in pca9554_set_pin() 2 months ago
pcf8574.c qom: Have class_init() take a const data argument 6 months ago
pl061.c qom: Have class_init() take a const data argument 6 months ago
sifive_gpio.c qom: Have class_init() take a const data argument 6 months ago
stm32l4x5_gpio.c qom: Have class_init() take a const data argument 6 months ago
trace-events hw/gpio/imx_gpio: Turn DPRINTF() into trace events 9 months ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
zaurus.c hw/arm: Remove sl_bootparam_write() and 'hw/arm/sharpsl.h' header 2 weeks ago