diff options
author | Aaron Sierra <asierra@xes-inc.com> | 2014-02-07 17:36:21 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-02-13 08:02:19 -0500 |
commit | e73760a60582b667cfe6d2ba70b74d5297419c42 (patch) | |
tree | 116344bd48d3804ef51c64eee368c0880112a245 /drivers/gpio | |
parent | eb32b5aae92176e7a00411082955dab8c62761ee (diff) |
gpio: pca953x: Add Exar XRA1202
Add Exar XRA1202 8-bit GPIO expander to supported list.
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Graeme Smecher <gsmecher@threespeedlogic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/Kconfig | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-pca953x.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 9f719273047a..87bfcaf2378f 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -471,7 +471,7 @@ config GPIO_PCA953X | |||
471 | 4 bits: pca9536, pca9537 | 471 | 4 bits: pca9536, pca9537 |
472 | 472 | ||
473 | 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, | 473 | 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, |
474 | pca9556, pca9557, pca9574, tca6408 | 474 | pca9556, pca9557, pca9574, tca6408, xra1202 |
475 | 475 | ||
476 | 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, | 476 | 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, |
477 | tca6416 | 477 | tca6416 |
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index dbc95bc72641..948a0741c221 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c | |||
@@ -69,6 +69,7 @@ static const struct i2c_device_id pca953x_id[] = { | |||
69 | { "tca6408", 8 | PCA953X_TYPE | PCA_INT, }, | 69 | { "tca6408", 8 | PCA953X_TYPE | PCA_INT, }, |
70 | { "tca6416", 16 | PCA953X_TYPE | PCA_INT, }, | 70 | { "tca6416", 16 | PCA953X_TYPE | PCA_INT, }, |
71 | { "tca6424", 24 | PCA953X_TYPE | PCA_INT, }, | 71 | { "tca6424", 24 | PCA953X_TYPE | PCA_INT, }, |
72 | { "xra1202", 8 | PCA953X_TYPE }, | ||
72 | { } | 73 | { } |
73 | }; | 74 | }; |
74 | MODULE_DEVICE_TABLE(i2c, pca953x_id); | 75 | MODULE_DEVICE_TABLE(i2c, pca953x_id); |
@@ -824,6 +825,8 @@ static const struct of_device_id pca953x_dt_ids[] = { | |||
824 | { .compatible = "ti,tca6408", }, | 825 | { .compatible = "ti,tca6408", }, |
825 | { .compatible = "ti,tca6416", }, | 826 | { .compatible = "ti,tca6416", }, |
826 | { .compatible = "ti,tca6424", }, | 827 | { .compatible = "ti,tca6424", }, |
828 | |||
829 | { .compatible = "exar,xra1202", }, | ||
827 | { } | 830 | { } |
828 | }; | 831 | }; |
829 | 832 | ||