RE: [PATCH v2] gpio: tegra186: add Tegra234 PMC compatible in GPIO driver

From: Prathamesh Shete
Date: Thu Sep 08 2022 - 06:31:56 EST


Hi
Can you please help review this patch

Thanks
Prathamesh.

> -----Original Message-----
> From: Prathamesh Shete <pshete@xxxxxxxxxx>
> Sent: Tuesday, August 16, 2022 3:57 PM
> To: linus.walleij@xxxxxxxxxx; bgolaszewski@xxxxxxxxxxxx; linux-
> gpio@xxxxxxxxxxxxxxx; linux-tegra@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; Jonathan Hunter <jonathanh@xxxxxxxxxx>;
> thierry.reding@xxxxxxxxx
> Cc: Suresh Mangipudi <smangipudi@xxxxxxxxxx>; Prathamesh Shete
> <pshete@xxxxxxxxxx>; Manish Bhardwaj <mbhardwaj@xxxxxxxxxx>
> Subject: [PATCH v2] gpio: tegra186: add Tegra234 PMC compatible in GPIO
> driver
>
> 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@xxxxxxxxxx>
> Signed-off-by: Prathamesh Shete <pshete@xxxxxxxxxx>
> ---
> drivers/gpio/gpio-tegra186.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c index
> 54d9fa7da9c1..824a355ff27a 100644
> --- a/drivers/gpio/gpio-tegra186.c
> +++ b/drivers/gpio/gpio-tegra186.c
> @@ -669,6 +669,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 */ }
> };
>
> --
> 2.17.1