gpio: pca953x: enable driver on Intel Edison
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 14 Jun 2016 22:57:56 +0000 (01:57 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jun 2016 07:08:02 +0000 (09:08 +0200)
Intel Edison board has 4 GPIO expanders PCA9555a connected to I2C bus. Add an
ID to support them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c

index 3969cc014acd274b5ad00a3b68b83fa0f348fe96..02f2a5621bb0fd132a3a7dd131c865b8d24b107a 100644 (file)
@@ -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, },