gpio: tegra186: add Tegra234 PMC compatible in GPIO driver
authorPrathamesh Shete <pshete@nvidia.com>
Tue, 16 Aug 2022 10:27:25 +0000 (15:57 +0530)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 30 Jan 2023 14:55:29 +0000 (15:55 +0100)
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>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tegra186.c

index fdc5bdcd56384c450f6f9a9665e2bdb950e63bb8..9941f35af82359aeec02d216e87f4325438a5644 100644 (file)
@@ -670,6 +670,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 */ }
 };