From: Grant Likely <grant.likely@secretlab.ca>
To: Kevin Hilman <khilman@linaro.org>,
Santosh Shilimkar <santosh.shilimkar@ti.com>,
Linus Walleij <linus.walleij@linaro.org>
Cc: Tony Lindgren <tony@atomide.com>,
linux-omap <linux-omap@vger.kernel.org>,
Jon Hunter <jon-hunter@ti.com>,
linux-arm <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 1/2] gpio/omap: convert gpio irq domain to linear mapping
Date: Sat, 02 Mar 2013 19:39:08 +0000 [thread overview]
Message-ID: <20130302193908.DCA413E10F3@localhost> (raw)
In-Reply-To: <1362158568-1624-2-git-send-email-jon-hunter@ti.com>
On Fri, 1 Mar 2013 11:22:47 -0600, Jon Hunter <jon-hunter@ti.com> wrote:
> Currently the OMAP GPIO driver uses a legacy mapping for the GPIO IRQ
> domain. This is not necessary because we do not need to assign a
> specific interrupt number to the GPIO IRQ domain. Therefore, convert
> the OMAP GPIO driver to use a linear mapping instead.
>
> Please note that this also allows to simplify the logic in the OMAP
> gpio_irq_handler() routine, by using irq_find_mapping() to obtain the
> virtual irq number from the GPIO bank and bank index.
>
> Reported-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Applied, thanks.
g.
WARNING: multiple messages have this Message-ID (diff)
From: grant.likely@secretlab.ca (Grant Likely)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] gpio/omap: convert gpio irq domain to linear mapping
Date: Sat, 02 Mar 2013 19:39:08 +0000 [thread overview]
Message-ID: <20130302193908.DCA413E10F3@localhost> (raw)
In-Reply-To: <1362158568-1624-2-git-send-email-jon-hunter@ti.com>
On Fri, 1 Mar 2013 11:22:47 -0600, Jon Hunter <jon-hunter@ti.com> wrote:
> Currently the OMAP GPIO driver uses a legacy mapping for the GPIO IRQ
> domain. This is not necessary because we do not need to assign a
> specific interrupt number to the GPIO IRQ domain. Therefore, convert
> the OMAP GPIO driver to use a linear mapping instead.
>
> Please note that this also allows to simplify the logic in the OMAP
> gpio_irq_handler() routine, by using irq_find_mapping() to obtain the
> virtual irq number from the GPIO bank and bank index.
>
> Reported-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Applied, thanks.
g.
next prev parent reply other threads:[~2013-03-02 19:39 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 17:22 [PATCH 0/2] gpio/omap: updates for v3.10 Jon Hunter
2013-03-01 17:22 ` Jon Hunter
2013-03-01 17:22 ` [PATCH 1/2] gpio/omap: convert gpio irq domain to linear mapping Jon Hunter
2013-03-01 17:22 ` Jon Hunter
2013-03-02 5:24 ` Santosh Shilimkar
2013-03-02 5:24 ` Santosh Shilimkar
2013-03-02 11:48 ` Felipe Balbi
2013-03-02 11:48 ` Felipe Balbi
2013-03-04 17:06 ` Jon Hunter
2013-03-04 17:06 ` Jon Hunter
2013-03-04 17:11 ` Felipe Balbi
2013-03-04 17:11 ` Felipe Balbi
2013-03-04 17:58 ` Jon Hunter
2013-03-04 17:58 ` Jon Hunter
2013-03-04 18:47 ` Felipe Balbi
2013-03-04 18:47 ` Felipe Balbi
2013-03-02 19:39 ` Grant Likely [this message]
2013-03-02 19:39 ` Grant Likely
2013-03-01 17:22 ` [PATCH 2/2] gpio/omap: warn if bank is not enabled on setting irq type Jon Hunter
2013-03-01 17:22 ` Jon Hunter
2013-03-02 5:27 ` Santosh Shilimkar
2013-03-02 5:27 ` Santosh Shilimkar
2013-03-02 11:49 ` Felipe Balbi
2013-03-02 11:49 ` Felipe Balbi
2013-03-02 19:40 ` Grant Likely
2013-03-02 19:40 ` Grant Likely
2013-03-01 17:39 ` [PATCH 0/2] gpio/omap: updates for v3.10 Kevin Hilman
2013-03-01 17:39 ` Kevin Hilman
2013-03-01 22:52 ` Javier Martinez Canillas
2013-03-01 22:52 ` Javier Martinez Canillas
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=20130302193908.DCA413E10F3@localhost \
--to=grant.likely@secretlab.ca \
--cc=jon-hunter@ti.com \
--cc=khilman@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=santosh.shilimkar@ti.com \
--cc=tony@atomide.com \
/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.