diff mbox series

gpio: tegra186: Allow to enable driver on Tegra234

Message ID 20241113162939.886242-1-lars@metafoo.de
State New
Headers show
Series gpio: tegra186: Allow to enable driver on Tegra234 | expand

Commit Message

Lars-Peter Clausen Nov. 13, 2024, 4:29 p.m. UTC
Support for Tegra234 was added to the tegra186 driver in 1db9b241bb56 (
"gpio: tegra186: Add support for Tegra234"). But the driver is not
selectable on Tegra234. Update the Kconfig entry to allow the driver to be
enabled on Tegra234.

Enable the driver by default on Tegra 234 as well, similar to the other
platforms it supports.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 drivers/gpio/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Linus Walleij Nov. 14, 2024, 7:42 a.m. UTC | #1
On Wed, Nov 13, 2024 at 5:30 PM Lars-Peter Clausen <lars@metafoo.de> wrote:

> Support for Tegra234 was added to the tegra186 driver in 1db9b241bb56 (
> "gpio: tegra186: Add support for Tegra234"). But the driver is not
> selectable on Tegra234. Update the Kconfig entry to allow the driver to be
> enabled on Tegra234.
>
> Enable the driver by default on Tegra 234 as well, similar to the other
> platforms it supports.
>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Bartosz Golaszewski Nov. 14, 2024, 2:44 p.m. UTC | #2
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Wed, 13 Nov 2024 08:29:39 -0800, Lars-Peter Clausen wrote:
> Support for Tegra234 was added to the tegra186 driver in 1db9b241bb56 (
> "gpio: tegra186: Add support for Tegra234"). But the driver is not
> selectable on Tegra234. Update the Kconfig entry to allow the driver to be
> enabled on Tegra234.
> 
> Enable the driver by default on Tegra 234 as well, similar to the other
> platforms it supports.
> 
> [...]

Applied, thanks!

[1/1] gpio: tegra186: Allow to enable driver on Tegra234
      commit: a5cc199f4de2a2a10e3c9d3fc2d07d634d1e5d0f

Best regards,
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index cb90e3898bf0f..56fee58e281e7 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -715,13 +715,13 @@  config GPIO_TEGRA
 
 config GPIO_TEGRA186
 	tristate "NVIDIA Tegra186 GPIO support"
-	default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC
-	depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || COMPILE_TEST
+	default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
+	depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
 	depends on OF_GPIO
 	select GPIOLIB_IRQCHIP
 	select IRQ_DOMAIN_HIERARCHY
 	help
-	  Say yes here to support GPIO pins on NVIDIA Tegra186 SoCs.
+	  Say yes here to support GPIO pins on NVIDIA Tegra186, 194 and 234 SoCs.
 
 config GPIO_TS4800
 	tristate "TS-4800 DIO blocks and compatibles"