gpio: pca953x: add support for pcal6416 type
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 3 Jan 2019 16:13:29 +0000 (17:13 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 14 Feb 2019 14:14:37 +0000 (15:14 +0100)
commitaac1e3c9680b47e1bdadeea22bda3da3de6399b0
tree7981d2d0e2bf66e32a8644e95a40778d7a486e59
parent2d803dbe1c2190be303d3c0891be21210d48b92d
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>
drivers/gpio/gpio-pca953x.c