Skip to contentSkip to conversation

gpio: tegra186: Add IRQ per bank for Tegra241

PATCH Superseded Akhil R 2 participants 3 messages Feb 28, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Akhil R

author
#0 lore raw

PATCH 1/1 gpio: tegra186: Add IRQ per bank for Tegra241

Add the number of interrupts per bank for Tegra241 (Grace).

---
 drivers/gpio/gpio-tegra186.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpio/gpio-tegra186.c +2 -0
index 8d298beffd86..031fe105b58e 100644
@@ -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[] = {
Signature · 1 line
2.17.1
#1 lore raw
Quoted 2 lines · Akhil R

Add the number of interrupts per bank for Tegra241 (Grace).

Is it a fix? Then add a Fixes tag, please. Otherwise, how did it work before? Elaborate that in the commit message to explain why it's not a fix.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#2 lore raw
Quoted 6 lines · Akhil R
Quoted 2 lines

Add the number of interrupts per bank for Tegra241 (Grace).

Is it a fix? Then add a Fixes tag, please. Otherwise, how did it work before? Elaborate that in the commit message to explain why it's not a fix.

Yes. This is a fix. Would add the tag. This property was missed to be added in a previous commit.

Thanks,
Akhil