diff mbox series

[v2] gpio: Add support for DM GPIO for Kirkwood

Message ID b9a81db74dd8000ee3135bc988a2a42d842e11cf.camel@nedap.com
State Accepted
Commit 98b64fe70b60b617fb440b14674110c2b7fa4fa3
Delegated to: Stefan Roese
Headers show
Series [v2] gpio: Add support for DM GPIO for Kirkwood | expand

Commit Message

Harm Berntsen Nov. 29, 2020, 10:08 a.m. UTC
The Armada driver also works on Nedap's custom Kirkwood board with a
Marvell 88F6180 CPU. The original commit of that driver,
commit 704d9a645e17 ("gpio: Add DM GPIO driver for Marvell MVEBU"),
also mentions that this driver would be suitable for Kirkwood. This
does not completely replace the Kirkwood specific driver as there
are still boards depending on that driver.

Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>
CC: Stefan Roese <sr@denx.de>,
---
Canges for v2:
- Made commit message more clear

 drivers/gpio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefan Roese Nov. 30, 2020, 9:01 a.m. UTC | #1
On 29.11.20 11:08, Harm Berntsen wrote:
> The Armada driver also works on Nedap's custom Kirkwood board with a
> Marvell 88F6180 CPU. The original commit of that driver,
> commit 704d9a645e17 ("gpio: Add DM GPIO driver for Marvell MVEBU"),
> also mentions that this driver would be suitable for Kirkwood. This
> does not completely replace the Kirkwood specific driver as there
> are still boards depending on that driver.
> 
> Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>
> CC: Stefan Roese <sr@denx.de>,

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
> Canges for v2:
> - Made commit message more clear
> 
>   drivers/gpio/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index 202fcc6f47..1f41bd3d55 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -374,7 +374,7 @@ config SIFIVE_GPIO
>   
>   config MVEBU_GPIO
>   	bool "Marvell MVEBU GPIO driver"
> -	depends on DM_GPIO && ARCH_MVEBU
> +	depends on DM_GPIO && (ARCH_MVEBU || ARCH_KIRKWOOD)
>   	default y
>   	help
>   	  Say yes here to support Marvell MVEBU (Armada XP/38x) GPIOs.
> 


Viele Grüße,
Stefan
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 202fcc6f47..1f41bd3d55 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -374,7 +374,7 @@  config SIFIVE_GPIO
 
 config MVEBU_GPIO
 	bool "Marvell MVEBU GPIO driver"
-	depends on DM_GPIO && ARCH_MVEBU
+	depends on DM_GPIO && (ARCH_MVEBU || ARCH_KIRKWOOD)
 	default y
 	help
 	  Say yes here to support Marvell MVEBU (Armada XP/38x) GPIOs.