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

gpio: pca953x: Add NXP PCA9698

Add the NXP PCA9698 40-bit GPIO expander to the supported list.
Note: This only enables GPIO functionality.
Tested-by: default avatarBob Schmitz <bschmitz@xes-inc.com>
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 1e191695
...@@ -461,7 +461,7 @@ config GPIO_MC9S08DZ60 ...@@ -461,7 +461,7 @@ config GPIO_MC9S08DZ60
Select this to enable the MC9S08DZ60 GPIO driver Select this to enable the MC9S08DZ60 GPIO driver
config GPIO_PCA953X config GPIO_PCA953X
tristate "PCA953x, PCA955x, PCA957x, TCA64xx, and MAX7310 I/O ports" tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
depends on I2C depends on I2C
help help
Say yes here to provide access to several register-oriented Say yes here to provide access to several register-oriented
...@@ -478,7 +478,7 @@ config GPIO_PCA953X ...@@ -478,7 +478,7 @@ config GPIO_PCA953X
24 bits: tca6424 24 bits: tca6424
40 bits: pca9505 40 bits: pca9505, pca9698
config GPIO_PCA953X_IRQ config GPIO_PCA953X_IRQ
bool "Interrupt controller support for PCA953x" bool "Interrupt controller support for PCA953x"
......
...@@ -59,6 +59,7 @@ static const struct i2c_device_id pca953x_id[] = { ...@@ -59,6 +59,7 @@ static const struct i2c_device_id pca953x_id[] = {
{ "pca9557", 8 | PCA953X_TYPE, }, { "pca9557", 8 | PCA953X_TYPE, },
{ "pca9574", 8 | PCA957X_TYPE | PCA_INT, }, { "pca9574", 8 | PCA957X_TYPE | PCA_INT, },
{ "pca9575", 16 | PCA957X_TYPE | PCA_INT, }, { "pca9575", 16 | PCA957X_TYPE | PCA_INT, },
{ "pca9698", 40 | PCA953X_TYPE, },
{ "max7310", 8 | PCA953X_TYPE, }, { "max7310", 8 | PCA953X_TYPE, },
{ "max7312", 16 | PCA953X_TYPE | PCA_INT, }, { "max7312", 16 | PCA953X_TYPE | PCA_INT, },
...@@ -812,6 +813,7 @@ static const struct of_device_id pca953x_dt_ids[] = { ...@@ -812,6 +813,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
{ .compatible = "nxp,pca9557", }, { .compatible = "nxp,pca9557", },
{ .compatible = "nxp,pca9574", }, { .compatible = "nxp,pca9574", },
{ .compatible = "nxp,pca9575", }, { .compatible = "nxp,pca9575", },
{ .compatible = "nxp,pca9698", },
{ .compatible = "maxim,max7310", }, { .compatible = "maxim,max7310", },
{ .compatible = "maxim,max7312", }, { .compatible = "maxim,max7312", },
......
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