From: Greentime Hu <greentime.hu@sifive.com>
To: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
linux-gpio <linux-gpio@vger.kernel.org>,
linux-riscv <linux-riscv@lists.infradead.org>,
Palmer Dabbelt <palmer@dabbelt.com>,
Paul Walmsley <paul.walmsley@sifive.com>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Yash Shah <yash.shah@sifive.com>
Subject: Re: [PATCH v3] gpio: sifive: To get gpio irq offset from device tree data
Date: Fri, 13 Nov 2020 17:20:18 +0800 [thread overview]
Message-ID: <CAHCEeh+zU4_i9eQuZ0nsxd7H5wkCQbsOr28cp-i54Tpf_RbYNw@mail.gmail.com> (raw)
In-Reply-To: <CAMpxmJVZ8OHnGrkC_5TZdZUg004p1=90KqOxpOTgi4036BGWfQ@mail.gmail.com>
Bartosz Golaszewski <bgolaszewski@baylibre.com> 於 2020年11月13日 週五 下午5:00寫道:
>
> On Fri, Nov 13, 2020 at 3:34 AM Greentime Hu <greentime.hu@sifive.com> wrote:
> >
> > We can get hwirq number of the gpio by its irq_data->hwirq so that we don't
> > need to add more macros for different platforms. This patch is tested in
> > SiFive Unleashed board and SiFive Unmatched board.
> >
> > Signed-off-by: Greentime Hu <greentime.hu@sifive.com>
> > ---
>
> Please list the changes between versions of patches. What has changed since v2?
changes in v3:
Add 2 newlines
changes in v2:
Use irqd_to_hwirq() instead of d->hwirq and platform_get_irq()
instead of irq_of_parse_and_map()
next prev parent reply other threads:[~2020-11-13 9:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-13 2:33 [PATCH v3] gpio: sifive: To get gpio irq offset from device tree data Greentime Hu
2020-11-13 9:00 ` Bartosz Golaszewski
2020-11-13 9:20 ` Greentime Hu [this message]
2020-11-18 8:29 ` Bartosz Golaszewski
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=CAHCEeh+zU4_i9eQuZ0nsxd7H5wkCQbsOr28cp-i54Tpf_RbYNw@mail.gmail.com \
--to=greentime.hu@sifive.com \
--cc=andy.shevchenko@gmail.com \
--cc=bgolaszewski@baylibre.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=yash.shah@sifive.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).