diff mbox series

gpio: tegra186: Add IRQ per bank for Tegra241

Message ID 20220228100317.59885-1-akhilrajeev@nvidia.com
State Superseded
Headers show
Series gpio: tegra186: Add IRQ per bank for Tegra241 | expand

Commit Message

Akhil R Feb. 28, 2022, 10:03 a.m. UTC
Add the number of interrupts per bank for Tegra241 (Grace).

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
---
 drivers/gpio/gpio-tegra186.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Andy Shevchenko Feb. 28, 2022, 2:55 p.m. UTC | #1
On Mon, Feb 28, 2022 at 12:51 PM Akhil R <akhilrajeev@nvidia.com> wrote:
>
> 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.
diff mbox series

Patch

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[] = {