Thread (16 messages) 16 messages, 4 authors, 2022-01-18

Re: [PATCH v9 2/6] gpio: Add Delta TN48M CPLD GPIO driver

From: Linus Walleij <hidden>
Date: 2021-11-22 00:10:41
Also in: linux-gpio

On Tue, Nov 9, 2021 at 12:32 PM Robert Marko [off-list ref] wrote:
Delta TN48M switch has an onboard Lattice CPLD that is used as a GPIO
expander.

The CPLD provides 12 pins in total on the TN48M, but on more advanced
switch models it provides up to 192 pins, so the driver is extendable
to support more switches.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Andy Shevchenko <redacted>
Reviewed-by: Michael Walle <redacted>
---
Changes in v9:
* Use {} instead of {0} for initialising the regmap config per Andys
comment
* Fix spelling mistake in KConfig
That's a nice compact and small driver. Using GPIO_REGMAP makes
it a bliss.
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help