From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Sat, 28 Nov 2020 11:08:43 +0100 Subject: [PATCH] gpio: Add support for DM GPIO for Kirkwood In-Reply-To: References: Message-ID: <67dc529d-b9ea-4943-3072-b86e39b8c131@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Harm, On 27.11.20 22:56, Harm Berntsen wrote: > The Armada driver also works on Nedap's ax8008 Kirkwood board with a > Marvell 88F6180 CPU. The original commit of that driver, > 704d9a645e1790e568abf43c5eff2de0d7b135ed also mentions that this driver > would be suitable for Kirkwood. Well, this was really a long time ago. ;) > This driver does not completely replace the Kirkwood specific driver as > there are still dependencies on that driver(i.e. soft_i2c.c. in our > case). So what work needs to be doney to completely replace the old legacy kw_gpio driver and remove it completely? Could you perhaps tackle it as well? Other than that: Reviewed-by: Stefan Roese Thanks, Stefan > Signed-off-by: Harm Berntsen > CC: Stefan Roese > --- > > 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 -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de