[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHCEeh+zU4_i9eQuZ0nsxd7H5wkCQbsOr28cp-i54Tpf_RbYNw@mail.gmail.com>
Date: Fri, 13 Nov 2020 17:20:18 +0800
From: Greentime Hu <greentime.hu@...ive.com>
To: Bartosz Golaszewski <bgolaszewski@...libre.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio <linux-gpio@...r.kernel.org>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Yash Shah <yash.shah@...ive.com>
Subject: Re: [PATCH v3] gpio: sifive: To get gpio irq offset from device tree data
Bartosz Golaszewski <bgolaszewski@...libre.com> 於 2020年11月13日 週五 下午5:00寫道:
>
> On Fri, Nov 13, 2020 at 3:34 AM Greentime Hu <greentime.hu@...ive.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@...ive.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()
Powered by blists - more mailing lists