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

Alex White alex.white at oarcorp.com
Fri May 19 03:46:27 UTC 2023


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

-- 
2.34.1



More information about the devel mailing list