diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2019-01-03 17:13:29 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2019-09-24 15:38:10 +0200 |
commit | ff980c92a264d3bc268958b73c90d3583edb91ff (patch) | |
tree | c115a28951db7485fdd6e95a52a810181e9f7ae9 | |
parent | 997b92175cc72f9204a9c024eac510c3b225656b (diff) |
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>
(cherry picked from commit aac1e3c9680b47e1bdadeea22bda3da3de6399b0)
Conflicts:
drivers/gpio/gpio-pca953x.c
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r-- | drivers/gpio/gpio-pca953x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index efa721d253ad..3d4b92ba9561 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -71,6 +71,7 @@ static const struct i2c_device_id pca953x_id[] = { { "pca9575", 16 | PCA957X_TYPE | PCA_INT, }, { "pca9698", 40 | PCA953X_TYPE, }, + { "pcal6416", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, }, { "pcal9555a", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, }, { "max7310", 8 | PCA953X_TYPE, }, |