diff mbox series

gpio: tegra186: add Tegra234 PMC compatible in GPIO driver

Message ID 20220224082409.12559-1-pshete@nvidia.com
State Handled Elsewhere
Headers show
Series gpio: tegra186: add Tegra234 PMC compatible in GPIO driver | expand

Commit Message

Prathamesh Shete Feb. 24, 2022, 8:24 a.m. UTC
From: Manish Bhardwaj <mbhardwaj@nvidia.com>

Using this patch we are adding PMC compatible string for
Tegra234 in GPIO driver so the irq hierarchy can be set.

Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com>
Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
---
 drivers/gpio/gpio-tegra186.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Thierry Reding Feb. 24, 2022, 4:39 p.m. UTC | #1
On Thu, Feb 24, 2022 at 01:54:09PM +0530, Prathamesh Shete wrote:
> From: Manish Bhardwaj <mbhardwaj@nvidia.com>
> 
> Using this patch we are adding PMC compatible string for
> Tegra234 in GPIO driver so the irq hierarchy can be set.

s/irq/IRQ/, but otherwise looks good:

Acked-by: Thierry Reding <treding@nvidia.com>
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index d38980b9923a..c1e9dd8c78f8 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -563,6 +563,7 @@  static unsigned int tegra186_gpio_child_offset_to_irq(struct gpio_chip *chip,
 static const struct of_device_id tegra186_pmc_of_match[] = {
 	{ .compatible = "nvidia,tegra186-pmc" },
 	{ .compatible = "nvidia,tegra194-pmc" },
+	{ .compatible = "nvidia,tegra234-pmc" },
 	{ /* sentinel */ }
 };