From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RESEND v9 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
Date: Thu, 17 May 2012 14:37:06 -0600 [thread overview]
Message-ID: <20120517203706.6B8223E0621@localhost> (raw)
In-Reply-To: <1337200832-26630-1-git-send-email-stigge@antcom.de>
On Wed, 16 May 2012 22:40:31 +0200, Roland Stigge <stigge@antcom.de> wrote:
> This patch changes the of_xlate API to make it possible to manipulate the
> actual used gc. This way, multiple GPIO banks can be supported with the same DT
> registered GPIO controller.
>
> The issue was discussed upon the integration of LPC32xx's DT support for its
> GPIO (see separate patch).
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>
I still wasn't happy with this approach, so I bugged Arnd and we
discussed some options. So, I think I've got a better solution that
doesn't change the signature of of_xlate. Instead it allows of_xlate
to return an error code and still have multiple banks referring to the
same gpio_chip.
I've just posted the series. Can you try it out and make sure it
works for you?
g.
WARNING: multiple messages have this Message-ID (diff)
From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
To: glikely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org,
arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org,
kevin.wells-3arQi8VN3Tc@public.gmane.org,
srinivas.bakki-3arQi8VN3Tc@public.gmane.org,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org
Cc: Roland Stigge <stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org>
Subject: Re: [PATCH RESEND v9 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
Date: Thu, 17 May 2012 14:37:06 -0600 [thread overview]
Message-ID: <20120517203706.6B8223E0621@localhost> (raw)
In-Reply-To: <1337200832-26630-1-git-send-email-stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org>
On Wed, 16 May 2012 22:40:31 +0200, Roland Stigge <stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org> wrote:
> This patch changes the of_xlate API to make it possible to manipulate the
> actual used gc. This way, multiple GPIO banks can be supported with the same DT
> registered GPIO controller.
>
> The issue was discussed upon the integration of LPC32xx's DT support for its
> GPIO (see separate patch).
>
> Signed-off-by: Roland Stigge <stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org>
I still wasn't happy with this approach, so I bugged Arnd and we
discussed some options. So, I think I've got a better solution that
doesn't change the signature of of_xlate. Instead it allows of_xlate
to return an error code and still have multiple banks referring to the
same gpio_chip.
I've just posted the series. Can you try it out and make sure it
works for you?
g.
WARNING: multiple messages have this Message-ID (diff)
From: Grant Likely <grant.likely@secretlab.ca>
To: Roland Stigge <stigge@antcom.de>,
glikely@secretlab.ca, arm@kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linus.walleij@stericsson.com, kevin.wells@nxp.com,
srinivas.bakki@nxp.com, devicetree-discuss@lists.ozlabs.org,
rob.herring@calxeda.com
Cc: Roland Stigge <stigge@antcom.de>
Subject: Re: [PATCH RESEND v9 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
Date: Thu, 17 May 2012 14:37:06 -0600 [thread overview]
Message-ID: <20120517203706.6B8223E0621@localhost> (raw)
In-Reply-To: <1337200832-26630-1-git-send-email-stigge@antcom.de>
On Wed, 16 May 2012 22:40:31 +0200, Roland Stigge <stigge@antcom.de> wrote:
> This patch changes the of_xlate API to make it possible to manipulate the
> actual used gc. This way, multiple GPIO banks can be supported with the same DT
> registered GPIO controller.
>
> The issue was discussed upon the integration of LPC32xx's DT support for its
> GPIO (see separate patch).
>
> Signed-off-by: Roland Stigge <stigge@antcom.de>
I still wasn't happy with this approach, so I bugged Arnd and we
discussed some options. So, I think I've got a better solution that
doesn't change the signature of of_xlate. Instead it allows of_xlate
to return an error code and still have multiple banks referring to the
same gpio_chip.
I've just posted the series. Can you try it out and make sure it
works for you?
g.
next prev parent reply other threads:[~2012-05-17 20:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 20:40 [PATCH RESEND v9 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips Roland Stigge
2012-05-16 20:40 ` Roland Stigge
2012-05-16 20:40 ` [PATCH RESEND v9 2/2] gpio: Device tree support for LPC32xx Roland Stigge
2012-05-16 20:40 ` Roland Stigge
2012-05-17 20:37 ` Grant Likely [this message]
2012-05-17 20:37 ` [PATCH RESEND v9 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips Grant Likely
2012-05-17 20:37 ` Grant Likely
2012-05-18 8:03 ` Roland Stigge
2012-05-18 8:03 ` Roland Stigge
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=20120517203706.6B8223E0621@localhost \
--to=grant.likely@secretlab.ca \
--cc=linux-arm-kernel@lists.infradead.org \
/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.