mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
Some of the pin declarations in the Aspeed GPIO module were incorrect, probably because of confusion over which bits in the input and output uint32_t's correspond to which groups in the label array. Since the uint32_t literals are in big endian, it's sort of the opposite of what would be intuitive. The least significant bit in ast2500_set_props[6] corresponds to GPIOY0, not GPIOAB7. GPIOxx indicates input and output capabilities, GPIxx indicates only input, GPOxx indicates only output. AST2500: - Previously had GPIW0..GPIW7 and GPIX0..GPIX7, that's correct. - Previously had GPIOY0..GPIOY3, should have been GPIOY0..GPIOY7. - Previously had GPIOAB0..GPIOAB3 and GPIAB4..GPIAB7, should only have been GPIOAB0..GPIOAB3. AST2600: - GPIOT0..GPIOT7 should have been GPIT0..GPIT7. - GPIOU0..GPIOU7 should have been GPIU0..GPIU7. - GPIW0..GPIW7 should have been GPIOW0..GPIOW7. - GPIOY0..GPIOY7 and GPIOZ0...GPIOZ7 were disabled. Fixes: |
||
|---|---|---|
| .. | ||
| aspeed_gpio.c | ||
| bcm2835_gpio.c | ||
| gpio_key.c | ||
| gpio_pwr.c | ||
| imx_gpio.c | ||
| Kconfig | ||
| max7310.c | ||
| meson.build | ||
| mpc8xxx.c | ||
| npcm7xx_gpio.c | ||
| nrf51_gpio.c | ||
| omap_gpio.c | ||
| pl061.c | ||
| sifive_gpio.c | ||
| trace-events | ||
| trace.h | ||
| zaurus.c | ||