From: Arnd Bergmann <arnd@arndb.de>
To: Roland Stigge <stigge@antcom.de>
Cc: linux-kernel@vger.kernel.org, grant.likely@secretlab.ca
Subject: Re: [PATCH 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
Date: Fri, 18 May 2012 09:36:45 +0000 [thread overview]
Message-ID: <201205180936.45449.arnd@arndb.de> (raw)
In-Reply-To: <1337329192-5699-1-git-send-email-stigge@antcom.de>
On Friday 18 May 2012, Roland Stigge wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
>
> This patch changes the of_xlate API to make it possible for multiple
> gpio_chips to refer to the same device tree node. This is useful for
> banked GPIO controllers that use multiple gpio_chips for a single
> device. With this change the core code will try calling of_xlate on
> each gpio_chip that references the device_node and will return the
> gpio number for the first one to return 'true'.
>
> Cc: Roland Stigge <stigge@antcom.de>
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
> Tested-by: Roland Stigge <stigge@antcom.de>
>
Acked-by: Arnd Bergmann <arnd@arndb.de>
prev parent reply other threads:[~2012-05-18 9:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 8:19 [PATCH 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips Roland Stigge
2012-05-18 8:19 ` [PATCH 2/2] gpio: Device tree support for LPC32xx Roland Stigge
2012-05-18 22:27 ` Grant Likely
2012-05-18 9:36 ` Arnd Bergmann [this message]
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=201205180936.45449.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=stigge@antcom.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.