mfd: simple-mfd-i2c: Add Delta TN48M CPLD support
authorRobert Marko <robert.marko@sartura.hr>
Mon, 31 Jan 2022 13:30:44 +0000 (14:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 08:59:35 +0000 (09:59 +0100)
commitd0cac2434c8ecd4863e082d976f5db9405d14b80
tree80ecf6146dacf85a4b9508534adeaff9db979970
parent7570fb41e450ba37bf9335fe3751fa9f502c30fa
mfd: simple-mfd-i2c: Add Delta TN48M CPLD support

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.

Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Link: https://lore.kernel.org/r/20220131133049.77780-2-robert.marko@sartura.hr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/Kconfig
drivers/mfd/simple-mfd-i2c.c