gpio: pca953x: enable driver on Intel Edison
PATCH 1/1 gpio: pca953x: enable driver on Intel Edison
Intel Edison board has 4 GPIO expanders PCA9555a connected to I2C bus. Add an ID to support them.
--- drivers/gpio/gpio-pca953x.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpio/gpio-pca953x.c +2 -0
@@ -67,6 +67,8 @@ static const struct i2c_device_id pca953x_id[] = { { "pca9575", 16 | PCA957X_TYPE | PCA_INT, }, { "pca9698", 40 | PCA953X_TYPE, }, + { "pcal9555a", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, }, + { "max7310", 8 | PCA953X_TYPE, }, { "max7312", 16 | PCA953X_TYPE | PCA_INT, }, { "max7313", 16 | PCA953X_TYPE | PCA_INT, },
Signature · 1 line
2.8.1
Quoted 4 lines · Andy Shevchenko
Intel Edison board has 4 GPIO expanders PCA9555a connected to I2C bus. Add an ID to support them.
Signed-off-by Andy Shevchenko <[email protected]>
Patch applied.
Yours,
Linus Walleij
Quoted 4 lines · Andy Shevchenko
Intel Edison board has 4 GPIO expanders PCA9555a connected to I2C bus. Add an ID to support them.
Signed-off-by Andy Shevchenko <[email protected]>
BTW Andy, if you have PCA95x hardware you're playing with, any chance you could implement .get_direction() for this driver?
I'd really like for that to be supported on all major hardware.
Yours,
Linus Walleij
Quoted 7 lines · Linus Walleij
Quoted 4 lines · Andy Shevchenko
Intel Edison board has 4 GPIO expanders PCA9555a connected to I2C bus. Add an
ID to support them.
Quoted 6 lines
Quoted 1 line
Signed-off-by Andy Shevchenko <[email protected]>BTW Andy, if you have PCA95x hardware you're playing with, any chance you could implement .get_direction() for this driver?
I'd really like for that to be supported on all major hardware.
I can put it to my TODO list with low priority.
If someone has more time and eagerness I would be okay to review and-or test it.
Signature · 2 lines
Andy Shevchenko <[email protected]> Intel Finland Oy