Re: [PATCH v3 3/6] hw/gpio/aspeed: Support different memory region ops

2024-09-26 Thread Cédric Le Goater
On 9/26/24 09:45, Jamin Lin wrote: It set "aspeed_gpio_ops" struct which containing read and write callbacks to be used when I/O is performed on the GPIO region. Besides, in the previous design of ASPEED SOCs, one register is used for setting one function for 32 GPIO pins. ex: GPIO000 is used fo

[PATCH v3 3/6] hw/gpio/aspeed: Support different memory region ops

2024-09-26 Thread Jamin Lin via
It set "aspeed_gpio_ops" struct which containing read and write callbacks to be used when I/O is performed on the GPIO region. Besides, in the previous design of ASPEED SOCs, one register is used for setting one function for 32 GPIO pins. ex: GPIO000 is used for setting data value for GPIO A, B, C