浏览代码

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>
Ben Dooks 9 年之前
父节点
当前提交
9f49f6dd04
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 1 0
      Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
  2. 2 0
      drivers/gpio/gpio-pca953x.c

+ 1 - 0
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt

@@ -25,6 +25,7 @@ Required properties:
 	ti,tca6416
 	ti,tca6416
 	ti,tca6424
 	ti,tca6424
 	ti,tca9539
 	ti,tca9539
+	onsemi,pca9654
 	exar,xra1202
 	exar,xra1202
 
 
 Example:
 Example:

+ 2 - 0
drivers/gpio/gpio-pca953x.c

@@ -781,6 +781,8 @@ static const struct of_device_id pca953x_dt_ids[] = {
 	{ .compatible = "ti,tca6416", },
 	{ .compatible = "ti,tca6416", },
 	{ .compatible = "ti,tca6424", },
 	{ .compatible = "ti,tca6424", },
 
 
+	{ .compatible = "onsemi,pca9654" },
+
 	{ .compatible = "exar,xra1202", },
 	{ .compatible = "exar,xra1202", },
 	{ }
 	{ }
 };
 };