Skip to content

RFC GPIO support for Microblaze

Michal Simek u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 0/1] GPIO support for Microblaze

I want to also write gpio support for Zynq
and this driver should be also used for arm zynq.

Currently we have support just for only gpio controller but not for various of them.
That's why I would like to get some input from you if possible to add dynamic gpio allocation which could be also helpful for OF support.

Output from my gpio status on Microblaze is below.

Thanks,
Michal

U-Boot> gpio status

gpio_info: reset/40000000 (0-0)
GPIO_0: reset_pin is an INPUT value = 0

gpio_info: led/40040000 (1-5)
GPIO_1: UNKNOWN is an INPUT value = 0
GPIO_2: UNKNOWN is an OUTPUT value = 1
GPIO_3: UNKNOWN is an INPUT value = 0
GPIO_4: UNKNOWN is an INPUT value = 0
GPIO_5: UNKNOWN is an OUTPUT value = 0

Michal Simek (1):
gpio: Add support for microblaze xilinx GPIO

 arch/microblaze/include/asm/gpio.h                 |  50 +---
 .../xilinx/microblaze-generic/microblaze-generic.c |  17 +-
 drivers/gpio/Makefile                              |   1 +
 drivers/gpio/xilinx_gpio.c                         | 323 +++++++++++++++++++++
 include/configs/microblaze-generic.h               |   3 +-
 5 files changed, 353 insertions(+), 41 deletions(-)
 create mode 100644 drivers/gpio/xilinx_gpio.c

--
1.8.2.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130424/f2236e57/attachment.pgp>