[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210601083944.GW543307@dell>
Date: Tue, 1 Jun 2021 09:39:44 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Robert Marko <robert.marko@...tura.hr>
Cc: linux-kernel@...r.kernel.org, linus.walleij@...aro.org,
bgolaszewski@...libre.com, linux-gpio@...r.kernel.org,
p.zabel@...gutronix.de, robh+dt@...nel.org,
devicetree@...r.kernel.org, luka.perkov@...tura.hr,
jmp@...phyte.org, pmenzel@...gen.mpg.de, buczek@...gen.mpg.de
Subject: Re: [PATCH v3 1/6] mfd: simple-mfd-i2c: Add Delta TN48M CPLD support
On Mon, 31 May 2021, Robert Marko wrote:
> Delta TN48M switches have a Lattice CPLD that serves
> multiple purposes including being a GPIO expander.
>
> So, lets use the simple I2C MFD driver to provide the MFD core.
>
> Also add a virtual symbol which pulls in the simple-mfd-i2c driver and
> provide a common symbol on which the subdevice drivers can depend on.
>
> Signed-off-by: Robert Marko <robert.marko@...tura.hr>
> ---
> Changes in v2:
> * Drop the custom MFD driver and header
> * Use simple I2C MFD driver
>
> drivers/mfd/Kconfig | 10 ++++++++++
> drivers/mfd/simple-mfd-i2c.c | 1 +
> 2 files changed, 11 insertions(+)
I responded to a previous version of this.
The question still remains - why do you need one single Regmap
encompassing all functionality. The register banks look separated to
me at first glance.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists