[U-Boot] [PATCH] Xilinx Zynq PS GPIO driver

rnd4 at dave-tech.it rnd4 at dave-tech.it
Fri Mar 20 16:00:24 CET 2015


From: Andrea Scian <andrea.scian at dave.eu>

Dear all,

I've written a simple driver for Zynq PS GPIO (currently we have in U-Boot
only the Xilinx PL GPIO driver).
Most of the code is taken from Linux kernel Zynq PS GPIO driver.

It has been tested (not intensively) on our Zynq7000 SOM running U-Boot 2014.07,
however the patch refers to the latest master pulled a few minutes ago: 2015.04-rc4.
It compiles correctly on with zynq_zc770_xm010_defconfig target (of course after
manually adding the right CONFIG_ to include the driver!).

Feel free to comment the patch and, if useful, insert in next U-Boot release.

Best Regards,

Andrea Scian
DAVE Embedded Systems

Andrea Scian (1):
  gpio: add Xilinx Zynq PS GPIO driver

 arch/arm/include/asm/arch-zynq/gpio.h |   66 ++++++++++
 drivers/gpio/Makefile                 |    1 +
 drivers/gpio/zynq_gpio.c              |  220 +++++++++++++++++++++++++++++++++
 3 files changed, 287 insertions(+)
 create mode 100644 drivers/gpio/zynq_gpio.c

-- 
1.7.9.5



More information about the U-Boot mailing list