gpio: Add support for DM GPIO for Kirkwood
authorHarm Berntsen <harm.berntsen@nedap.com>
Sun, 29 Nov 2020 10:08:02 +0000 (10:08 +0000)
committerStefan Roese <sr@denx.de>
Wed, 27 Jan 2021 06:25:39 +0000 (07:25 +0100)
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>
drivers/gpio/Kconfig

index 7e94759..d248847 100644 (file)
@@ -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.