Re: [PATCH v3] gpio: sifive: To get gpio irq offset from device tree data

2020-11-18 Thread Bartosz Golaszewski
On Fri, Nov 13, 2020 at 3:34 AM Greentime Hu 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 > ---

Re: [PATCH v3] gpio: sifive: To get gpio irq offset from device tree data

2020-11-13 Thread Greentime Hu
Bartosz Golaszewski 於 2020年11月13日 週五 下午5:00寫道: > > On Fri, Nov 13, 2020 at 3:34 AM Greentime Hu 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 Si

Re: [PATCH v3] gpio: sifive: To get gpio irq offset from device tree data

2020-11-13 Thread Bartosz Golaszewski
On Fri, Nov 13, 2020 at 3:34 AM Greentime Hu 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 > ---

[PATCH v3] gpio: sifive: To get gpio irq offset from device tree data

2020-11-12 Thread Greentime Hu
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 --- drivers/gpio/gpio-sifive.c | 14 ++ 1 file changed,