Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-22 Thread Andrew Lunn
On Mon, Mar 22, 2021 at 01:41:58PM +0100, Linus Walleij wrote: > On Wed, Mar 10, 2021 at 9:38 PM Asmaa Mnebhi wrote: > > > > That's fine, the hardware description model (I guess in your case > > > ACPI) should take care of that. > > > > > We cannot really pass it through the ACPI table because th

Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-22 Thread Linus Walleij
On Wed, Mar 10, 2021 at 9:38 PM Asmaa Mnebhi wrote: > > That's fine, the hardware description model (I guess in your case > > ACPI) should take care of that. > > > We cannot really pass it through the ACPI table because the ACPI > table is common to all BlueField-2 boards. And each board may have

Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-19 Thread Andy Shevchenko
On Fri, Mar 19, 2021 at 3:24 PM Andrew Lunn wrote: > > > We cannot really pass it through the ACPI table because the ACPI > > table is common to all BlueField-2 boards. And each board may have > > a different GPIO pin associated with a particular function. This is > > why we use ACPI properties i

Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-19 Thread Andrew Lunn
> We cannot really pass it through the ACPI table because the ACPI > table is common to all BlueField-2 boards. And each board may have > a different GPIO pin associated with a particular function. This is > why we use ACPI properties instead of GpioInt(). So that the > bootloader can change the G

RE: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-19 Thread Asmaa Mnebhi
; linus.wall...@linaro.org; bgolaszew...@baylibre.com Cc: linux-kernel@vger.kernel.org Subject: RE: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c Hi Linus, Thanks for your feedback. I apologize for the late response, I didn’t receive any email notification due to the invalid email

RE: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-10 Thread Asmaa Mnebhi
Hi Linus, Thanks for your feedback. I apologize for the late response, I didn’t receive any email notification due to the invalid email address "as...@mellanox.com". I have added the right address "as...@nvidia.com" and I am replying to your comments below (found and copied from https://www.sp

Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-02 Thread Andy Shevchenko
On Tue, Mar 02, 2021 at 03:02:00PM +0100, Linus Walleij wrote: > Hi Asmaa, > > thanks for your patch! > > Please send GPIO related patches to linux-g...@vger.kernel.org! I'm not sure I saw the original mail, in any case, please Cc GPIO ACPI layer maintainers for the future version of this, becau

Re: [PATCH v1 1/1] gpio: Support interrupts in gpio-mlxbf2.c

2021-03-02 Thread Linus Walleij
Hi Asmaa, thanks for your patch! Please send GPIO related patches to linux-g...@vger.kernel.org! On Tue, Feb 23, 2021 at 11:51 PM Asmaa Mnebhi wrote: > > From: Asmaa Mnebhi > > There are 3 possible GPIO interrupts which can be > supported on BlueField-2 boards. Some BlueField boards support: >