summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2015-12-08 10:19:25 +0000
committerLinus Walleij <linus.walleij@linaro.org>2015-12-09 08:04:38 +0100
commit9f49f6dd0473c8fab4522e2e2cb16e93ffb8f3f0 (patch)
tree5b416586fa000d3e03471ad1c423fe970c84dcb8
parenta1eb9d5751220433998ae2e66216288161b1355b (diff)
gpio: pca953x: add onsemi,pca9654 id
Add onsemi,pca9654 which is also compatible with the nxp,pca9524 as it is an 8bit expander with an interrupt output. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-pca953x.txt1
-rw-r--r--drivers/gpio/gpio-pca953x.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
index 13df9933f4cd..6b4a98f74be3 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
@@ -25,6 +25,7 @@ Required properties:
ti,tca6416
ti,tca6424
ti,tca9539
+ onsemi,pca9654
exar,xra1202
Example:
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index ddbbbe57eef8..cad6dc99ae12 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -781,6 +781,8 @@ static const struct of_device_id pca953x_dt_ids[] = {
{ .compatible = "ti,tca6416", },
{ .compatible = "ti,tca6424", },
+ { .compatible = "onsemi,pca9654" },
+
{ .compatible = "exar,xra1202", },
{ }
};