* [PATCH v2] gpio: tegra186: Add IRQ per bank for Tegra241
@ 2022-02-28 15:34 Akhil R
2022-03-07 9:33 ` Bartosz Golaszewski
0 siblings, 1 reply; 2+ messages in thread
From: Akhil R @ 2022-02-28 15:34 UTC (permalink / raw)
To: linus.walleij, brgl, thierry.reding, jonathanh, linux-gpio,
linux-tegra, linux-kernel, andy.shevchenko
Cc: akhilrajeev
Add the number of interrupts per bank for Tegra241 (Grace) to
fix the probe failure.
Fixes: d1056b771ddb ("gpio: tegra186: Add support for Tegra241")
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
---
v1->v2: Add 'Fixes' tag in the commit message
drivers/gpio/gpio-tegra186.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index 8d298beffd86..031fe105b58e 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -1075,6 +1075,7 @@ static const struct tegra_gpio_soc tegra241_main_soc = {
.ports = tegra241_main_ports,
.name = "tegra241-gpio",
.instance = 0,
+ .num_irqs_per_bank = 8,
};
#define TEGRA241_AON_GPIO_PORT(_name, _bank, _port, _pins) \
@@ -1095,6 +1096,7 @@ static const struct tegra_gpio_soc tegra241_aon_soc = {
.ports = tegra241_aon_ports,
.name = "tegra241-gpio-aon",
.instance = 1,
+ .num_irqs_per_bank = 8,
};
static const struct of_device_id tegra186_gpio_of_match[] = {
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] gpio: tegra186: Add IRQ per bank for Tegra241
2022-02-28 15:34 [PATCH v2] gpio: tegra186: Add IRQ per bank for Tegra241 Akhil R
@ 2022-03-07 9:33 ` Bartosz Golaszewski
0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2022-03-07 9:33 UTC (permalink / raw)
To: Akhil R
Cc: Linus Walleij, Thierry Reding, Jonathan Hunter,
open list:GPIO SUBSYSTEM, linux-tegra, Linux Kernel Mailing List,
Andy Shevchenko
On Mon, Feb 28, 2022 at 4:34 PM Akhil R <akhilrajeev@nvidia.com> wrote:
>
> Add the number of interrupts per bank for Tegra241 (Grace) to
> fix the probe failure.
>
> Fixes: d1056b771ddb ("gpio: tegra186: Add support for Tegra241")
> Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
> ---
> v1->v2: Add 'Fixes' tag in the commit message
>
> drivers/gpio/gpio-tegra186.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
> index 8d298beffd86..031fe105b58e 100644
> --- a/drivers/gpio/gpio-tegra186.c
> +++ b/drivers/gpio/gpio-tegra186.c
> @@ -1075,6 +1075,7 @@ static const struct tegra_gpio_soc tegra241_main_soc = {
> .ports = tegra241_main_ports,
> .name = "tegra241-gpio",
> .instance = 0,
> + .num_irqs_per_bank = 8,
> };
>
> #define TEGRA241_AON_GPIO_PORT(_name, _bank, _port, _pins) \
> @@ -1095,6 +1096,7 @@ static const struct tegra_gpio_soc tegra241_aon_soc = {
> .ports = tegra241_aon_ports,
> .name = "tegra241-gpio-aon",
> .instance = 1,
> + .num_irqs_per_bank = 8,
> };
>
> static const struct of_device_id tegra186_gpio_of_match[] = {
> --
> 2.17.1
>
Queued for fixes, thanks!
Bart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-07 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 15:34 [PATCH v2] gpio: tegra186: Add IRQ per bank for Tegra241 Akhil R
2022-03-07 9:33 ` Bartosz Golaszewski
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.