Commit e73760a6 authored by Aaron Sierra's avatar Aaron Sierra Committed by Linus Walleij

gpio: pca953x: Add Exar XRA1202

Add Exar XRA1202 8-bit GPIO expander to supported list.
Signed-off-by: default avatarAaron Sierra <asierra@xes-inc.com>
Acked-by: default avatarGraeme Smecher <gsmecher@threespeedlogic.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent eb32b5aa
...@@ -471,7 +471,7 @@ config GPIO_PCA953X ...@@ -471,7 +471,7 @@ config GPIO_PCA953X
4 bits: pca9536, pca9537 4 bits: pca9536, pca9537
8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
pca9556, pca9557, pca9574, tca6408 pca9556, pca9557, pca9574, tca6408, xra1202
16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
tca6416 tca6416
......
...@@ -69,6 +69,7 @@ static const struct i2c_device_id pca953x_id[] = { ...@@ -69,6 +69,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, },
{ "xra1202", 8 | PCA953X_TYPE },
{ } { }
}; };
MODULE_DEVICE_TABLE(i2c, pca953x_id); MODULE_DEVICE_TABLE(i2c, pca953x_id);
...@@ -824,6 +825,8 @@ static const struct of_device_id pca953x_dt_ids[] = { ...@@ -824,6 +825,8 @@ static const struct of_device_id pca953x_dt_ids[] = {
{ .compatible = "ti,tca6408", }, { .compatible = "ti,tca6408", },
{ .compatible = "ti,tca6416", }, { .compatible = "ti,tca6416", },
{ .compatible = "ti,tca6424", }, { .compatible = "ti,tca6424", },
{ .compatible = "exar,xra1202", },
{ } { }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment