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
Philippe Mathieu-Daudé 92122685e5 hw/gpio/pl061: Declare pullups/pulldowns as 8-bit types
uint8_t is good enough to hold a property "between 0 and 0xff".

Define pullups/pulldowns properties using DEFINE_PROP_UINT8()
macro, remove unnecessary range checks in pl061_realize().
Update the two caller sites.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2 weeks ago
..
Kconfig hw/gpio/pca955*: Move Kconfig switches next to implementations 9 months ago
aspeed_gpio.c hw/gpio: Add property for ASPEED GPIO in 32 bits basis 3 weeks ago
bcm2835_gpio.c qom: Have class_init() take a const data argument 7 months ago
bcm2838_gpio.c qom: Have class_init() take a const data argument 7 months ago
gpio_key.c qom: Have class_init() take a const data argument 7 months ago
gpio_pwr.c include: Rename sysemu/ -> system/ 11 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 7 months ago
npcm7xx_gpio.c qom: Have class_init() take a const data argument 7 months ago
nrf51_gpio.c qom: Have class_init() take a const data argument 7 months ago
omap_gpio.c hw/arm: Replace TABs for spaces in OMAP board and device code 6 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 7 months ago
pl061.c hw/gpio/pl061: Declare pullups/pulldowns as 8-bit types 2 weeks ago
sifive_gpio.c qom: Have class_init() take a const data argument 7 months ago
stm32l4x5_gpio.c qom: Have class_init() take a const data argument 7 months ago
trace-events hw/gpio/imx_gpio: Turn DPRINTF() into trace events 10 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 1 month ago