summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pca953x.c
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2017-04-21 14:46:30 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-04-24 18:27:55 +0200
commit1b9a0c25065c174134494d1ca91f4da8430e6902 (patch)
treeb7160e4b0f8809cfc0822a4bc739dba252461706 /drivers/gpio/gpio-pca953x.c
parent64c6a71126fdeb2d60e193b93e24ea5ffa9c40ba (diff)
downloadop-kernel-dev-1b9a0c25065c174134494d1ca91f4da8430e6902.zip
op-kernel-dev-1b9a0c25065c174134494d1ca91f4da8430e6902.tar.gz
gpio: move tca9554 from pcf857x to pca953x
The TCA9554 doesn't work with the pcf857x driver, trying to change the direction gives a NAK bailout error. TCA9554 is similar to the PCA9554, thus change the driver. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pca953x.c')
-rw-r--r--drivers/gpio/gpio-pca953x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index b937378..4c9e213 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -82,6 +82,7 @@ static const struct i2c_device_id pca953x_id[] = {
{ "tca6416", 16 | PCA953X_TYPE | PCA_INT, },
{ "tca6424", 24 | PCA953X_TYPE | PCA_INT, },
{ "tca9539", 16 | PCA953X_TYPE | PCA_INT, },
+ { "tca9554", 8 | PCA953X_TYPE | PCA_INT, },
{ "xra1202", 8 | PCA953X_TYPE },
{ }
};
OpenPOWER on IntegriCloud