Commit 5f84e73f authored by Akhil R's avatar Akhil R Committed by Bartosz Golaszewski

gpio: tegra186: Add IRQ per bank for Tegra241

Add the number of interrupts per bank for Tegra241 (Grace) to
fix the probe failure.

Fixes: d1056b77 ("gpio: tegra186: Add support for Tegra241")
Signed-off-by: default avatarAkhil R <akhilrajeev@nvidia.com>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent ffb217a1
...@@ -1075,6 +1075,7 @@ static const struct tegra_gpio_soc tegra241_main_soc = { ...@@ -1075,6 +1075,7 @@ static const struct tegra_gpio_soc tegra241_main_soc = {
.ports = tegra241_main_ports, .ports = tegra241_main_ports,
.name = "tegra241-gpio", .name = "tegra241-gpio",
.instance = 0, .instance = 0,
.num_irqs_per_bank = 8,
}; };
#define TEGRA241_AON_GPIO_PORT(_name, _bank, _port, _pins) \ #define TEGRA241_AON_GPIO_PORT(_name, _bank, _port, _pins) \
...@@ -1095,6 +1096,7 @@ static const struct tegra_gpio_soc tegra241_aon_soc = { ...@@ -1095,6 +1096,7 @@ static const struct tegra_gpio_soc tegra241_aon_soc = {
.ports = tegra241_aon_ports, .ports = tegra241_aon_ports,
.name = "tegra241-gpio-aon", .name = "tegra241-gpio-aon",
.instance = 1, .instance = 1,
.num_irqs_per_bank = 8,
}; };
static const struct of_device_id tegra186_gpio_of_match[] = { static const struct of_device_id tegra186_gpio_of_match[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment