gpio: pca953x: Add TI TCA9539 support
authorThierry Reding <treding@nvidia.com>
Tue, 29 Sep 2015 10:55:44 +0000 (12:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 2 Oct 2015 22:06:42 +0000 (15:06 -0700)
The TCA9539 is almost identical to the PCA9555 and software-compatible
with this driver. It exposes 16 general purpose I/O pins in two 8-bit
configurations.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
drivers/gpio/gpio-pca953x.c

index b9a42f294dd01c63f97831c7487881aebd7d5d8f..13df9933f4cda74da94f2563675e6cd37ac97375 100644 (file)
@@ -24,6 +24,7 @@ Required properties:
        ti,tca6408
        ti,tca6416
        ti,tca6424
+       ti,tca9539
        exar,xra1202
 
 Example:
index 4e5745d3282896d21d3098e1355d8b17bfcea147..ae70630868a35cd7e4cce30a0c83bec41aae67e2 100644 (file)
@@ -67,6 +67,7 @@ static const struct i2c_device_id pca953x_id[] = {
        { "tca6408", 8  | PCA953X_TYPE | PCA_INT, },
        { "tca6416", 16 | PCA953X_TYPE | PCA_INT, },
        { "tca6424", 24 | PCA953X_TYPE | PCA_INT, },
+       { "tca9539", 16 | PCA953X_TYPE | PCA_INT, },
        { "xra1202", 8  | PCA953X_TYPE },
        { }
 };