diff mbox series

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

Message ID 20220816102725.14708-1-pshete@nvidia.com
State Not Applicable
Headers show
Series [v2] gpio: tegra186: add Tegra234 PMC compatible in GPIO driver | expand

Commit Message

Prathamesh Shete Aug. 16, 2022, 10:27 a.m. UTC
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

Prathamesh Shete Sept. 8, 2022, 10:31 a.m. UTC | #1
Hi 
Can you please help review this patch 

Thanks
Prathamesh.

> -----Original Message-----
> From: Prathamesh Shete <pshete@nvidia.com>
> Sent: Tuesday, August 16, 2022 3:57 PM
> To: linus.walleij@linaro.org; bgolaszewski@baylibre.com; linux-
> gpio@vger.kernel.org; linux-tegra@vger.kernel.org; linux-
> kernel@vger.kernel.org; Jonathan Hunter <jonathanh@nvidia.com>;
> thierry.reding@gmail.com
> Cc: Suresh Mangipudi <smangipudi@nvidia.com>; Prathamesh Shete
> <pshete@nvidia.com>; Manish Bhardwaj <mbhardwaj@nvidia.com>
> 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@nvidia.com>
> Signed-off-by: Prathamesh Shete <pshete@nvidia.com>
> ---
>  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
Linus Walleij Sept. 8, 2022, 1:21 p.m. UTC | #2
On Tue, Aug 16, 2022 at 12:27 PM Prathamesh Shete <pshete@nvidia.com> wrote:

> 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>

It also has Thierry's ACK from v1.

Yours,
Linus Walleij
Thierry Reding Sept. 15, 2022, 12:38 p.m. UTC | #3
On Tue, Aug 16, 2022 at 03:57:25PM +0530, Prathamesh Shete wrote:
> 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(+)

I already acked this on v1, but here goes again, for patchwork:

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 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 */ }
 };