From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU
Date: Mon, 15 Feb 2016 18:40:38 +0100 [thread overview]
Message-ID: <56C20D96.2060504@denx.de> (raw)
In-Reply-To: <56C20734.3010402@elecsyscorp.com>
Hi Kevin,
On 15.02.2016 18:13, Kevin Smith wrote:
> On 02/12/2016 06:46 AM, Stefan Roese wrote:
>> This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are
>> other non-DM drivers that might be used on these platforms. But this
>> patch creates a new DM driver. Which will be used by all Armada XP/38x
>> boards. Other MVEBU SoC (Kirkwood / Orion) may follow once they
>> support DM as well.
>>
> Are there any GPIO functions on the db-88f6820-gp board that I can use
> to test this patch? I'm not seeing any "xxxx-gpios = <&gpioX ...>"
> nodes in the current device tree.
Correct. But there are the GPIO controller DT nodes. That will
instantiate the GPIO DM interface. So you could use:
=> dm tree
to see the GPIO controllers listed (if enabled). And if you enable
the GPIO commands (CONFIG_CMD_GPIO) then you can e.g. do:
=> gpio status -a
to list all GPIOs and there status. If a board / driver claims a
GPIO (request_gpio) this should also be visible via this interface.
Thanks,
Stefan
next prev parent reply other threads:[~2016-02-15 17:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 12:46 [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU Stefan Roese
2016-02-15 17:13 ` Kevin Smith
2016-02-15 17:40 ` Stefan Roese [this message]
2016-02-17 20:20 ` Kevin Smith
2016-03-24 8:45 ` Stefan Roese
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=56C20D96.2060504@denx.de \
--to=sr@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.