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

From: Randy Dunlap
Date: Fri Nov 05 2021 - 16:20:50 EST


On 11/5/21 4:38 AM, Robert Marko wrote:
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index fab571016adf..31b83271f954 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1344,6 +1344,18 @@ config GPIO_TIMBERDALE
help
Add support for the GPIO IP in the timberdale FPGA.
+config GPIO_TN48M_CPLD
+ tristate "Delta Networks TN48M switch CPLD GPIO driver"
+ depends on MFD_TN48M_CPLD
+ select GPIO_REGMAP
+ help
+ This enables support for the GPIOs found on the Delta
+ Networks TN48M switch Lattice CPLD. It provides 12 pins in total,
+ they are input-only or ouput-only type.

output-only

+
+ This driver can also be built as a module. If so, the
+ module will be called gpio-tn48m.


--
~Randy