Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpio: pca953x: add support for pcal6416 type

The NXP PCAL6416, documented at [1], is a variant of the PCA GPIO
expander with 16 GPIOs, and supporting an interrupt and the "extended"
features for interrupt, pull-up/pull-down configuration, etc.

[1] https://www.nxp.com/docs/en/data-sheet/PCAL6416A.pdf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>

authored by

Thomas Petazzoni and committed by
Bartosz Golaszewski
aac1e3c9 2d803dbe

+1
+1
drivers/gpio/gpio-pca953x.c
··· 88 88 { "pca9575", 16 | PCA957X_TYPE | PCA_INT, }, 89 89 { "pca9698", 40 | PCA953X_TYPE, }, 90 90 91 + { "pcal6416", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, }, 91 92 { "pcal6524", 24 | PCA953X_TYPE | PCA_INT | PCA_PCAL, }, 92 93 { "pcal9555a", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, }, 93 94