[PATCH 0/2] bsps/microblaze: GPIO improvements

Chris Johns chrisj at rtems.org
Fri May 19 04:26:41 UTC 2023


OK. This is a great change to see and a good direction for the Microblaze to take.

Thanks
Chris

On 19/5/2023 1:46 pm, Alex White wrote:
> Hi,
> 
> This patch set removes the build system options for the GPIO driver and adds
> device tree support. The build system options were removed because they are now
> supplied by the application or pulled from the device tree. This removes a lot
> of clutter and makes the driver more flexible.
> 
> Alex
> 
> Alex White (2):
>   bsps/microblaze: Remove GPIO build system options
>   bsps/microblaze: Add device tree support to GPIO
> 
>  .../microblaze_fpga/gpio/microblaze-gpio.c    | 93 ++++++++++++-------
>  .../include/bsp/microblaze-gpio.h             | 26 ++++--
>  .../bsps/microblaze/microblaze_fpga/grp.yml   | 18 ----
>  .../microblaze_fpga/optgpio1baseaddress.yml   | 19 ----
>  .../microblaze_fpga/optgpio1dualchannel.yml   | 16 ----
>  .../microblaze_fpga/optgpio1interrupt.yml     | 16 ----
>  .../microblaze_fpga/optgpio1irq.yml           | 18 ----
>  .../microblaze_fpga/optgpio2baseaddress.yml   | 19 ----
>  .../microblaze_fpga/optgpio2dualchannel.yml   | 16 ----
>  .../microblaze_fpga/optgpio2enable.yml        | 17 ----
>  .../microblaze_fpga/optgpio2interrupt.yml     | 16 ----
>  .../microblaze_fpga/optgpio2irq.yml           | 18 ----
>  12 files changed, 79 insertions(+), 213 deletions(-)
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio1baseaddress.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio1dualchannel.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio1interrupt.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio1irq.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio2baseaddress.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio2dualchannel.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio2enable.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio2interrupt.yml
>  delete mode 100644 spec/build/bsps/microblaze/microblaze_fpga/optgpio2irq.yml
> 


More information about the devel mailing list