Skip to content

Commit 5f84e73

Browse files
Akhil Rbrgl
authored andcommitted
gpio: tegra186: Add IRQ per bank for Tegra241
Add the number of interrupts per bank for Tegra241 (Grace) to fix the probe failure. Fixes: d1056b7 ("gpio: tegra186: Add support for Tegra241") Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
1 parent ffb217a commit 5f84e73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpio/gpio-tegra186.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,7 @@ static const struct tegra_gpio_soc tegra241_main_soc = {
10751075
.ports = tegra241_main_ports,
10761076
.name = "tegra241-gpio",
10771077
.instance = 0,
1078+
.num_irqs_per_bank = 8,
10781079
};
10791080

10801081
#define TEGRA241_AON_GPIO_PORT(_name, _bank, _port, _pins) \
@@ -1095,6 +1096,7 @@ static const struct tegra_gpio_soc tegra241_aon_soc = {
10951096
.ports = tegra241_aon_ports,
10961097
.name = "tegra241-gpio-aon",
10971098
.instance = 1,
1099+
.num_irqs_per_bank = 8,
10981100
};
10991101

11001102
static const struct of_device_id tegra186_gpio_of_match[] = {

0 commit comments

Comments
 (0)