gpio: Add Delta TN48M CPLD GPIO driver
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. Reviewed-by: NAndy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: NMichael Walle <michael@walle.cc> Reviewed-by: NLinus Walleij <linus.walleij@linaro.org> Acked-by: NBartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: NRobert Marko <robert.marko@sartura.hr> Link: https://lore.kernel.org/r/20220131133049.77780-3-robert.marko@sartura.hrSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
drivers/gpio/gpio-tn48m.c
0 → 100644
想要评论请 注册 或 登录