gpio: pca953x: Add TI TCA9539 support
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>
This commit is contained in:
committed by
Linus Walleij
parent
7474f23dd0
commit
2db8aba860
@@ -24,6 +24,7 @@ Required properties:
|
|||||||
ti,tca6408
|
ti,tca6408
|
||||||
ti,tca6416
|
ti,tca6416
|
||||||
ti,tca6424
|
ti,tca6424
|
||||||
|
ti,tca9539
|
||||||
exar,xra1202
|
exar,xra1202
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ static const struct i2c_device_id pca953x_id[] = {
|
|||||||
{ "tca6408", 8 | PCA953X_TYPE | PCA_INT, },
|
{ "tca6408", 8 | PCA953X_TYPE | PCA_INT, },
|
||||||
{ "tca6416", 16 | PCA953X_TYPE | PCA_INT, },
|
{ "tca6416", 16 | PCA953X_TYPE | PCA_INT, },
|
||||||
{ "tca6424", 24 | PCA953X_TYPE | PCA_INT, },
|
{ "tca6424", 24 | PCA953X_TYPE | PCA_INT, },
|
||||||
|
{ "tca9539", 16 | PCA953X_TYPE | PCA_INT, },
|
||||||
{ "xra1202", 8 | PCA953X_TYPE },
|
{ "xra1202", 8 | PCA953X_TYPE },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user