public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 0/1] GPIO support for Microblaze
Date: Wed, 24 Apr 2013 10:27:50 +0200	[thread overview]
Message-ID: <cover.1366792065.git.michal.simek@xilinx.com> (raw)

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>

             reply	other threads:[~2013-04-24  8:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  8:27 Michal Simek [this message]
2013-04-24  8:27 ` [U-Boot] [RFC PATCH] gpio: Add support for microblaze xilinx GPIO Michal Simek
2013-04-27 15:45   ` Simon Glass
2013-04-29  8:56     ` Michal Simek
2013-04-24  8:30 ` [U-Boot] [RFC PATCH 0/1] GPIO support for Microblaze Michal Simek
2013-04-27 15:35   ` Simon Glass
2013-04-29  8:21     ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1366792065.git.michal.simek@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox