gpio: pca953x: Add NXP PCA9698
[firefly-linux-kernel-4.4.55.git] / drivers / gpio / gpio-pca953x.c
index cede6f600a6935b34fa1a007fe65b9f92bb90102..dbc95bc72641eba9fe3f2575e9ab2b056e9e053d 100644 (file)
@@ -59,6 +59,7 @@ static const struct i2c_device_id pca953x_id[] = {
        { "pca9557", 8  | PCA953X_TYPE, },
        { "pca9574", 8  | PCA957X_TYPE | PCA_INT, },
        { "pca9575", 16 | PCA957X_TYPE | PCA_INT, },
+       { "pca9698", 40 | PCA953X_TYPE, },
 
        { "max7310", 8  | PCA953X_TYPE, },
        { "max7312", 16 | PCA953X_TYPE | PCA_INT, },
@@ -812,6 +813,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
        { .compatible = "nxp,pca9557", },
        { .compatible = "nxp,pca9574", },
        { .compatible = "nxp,pca9575", },
+       { .compatible = "nxp,pca9698", },
 
        { .compatible = "maxim,max7310", },
        { .compatible = "maxim,max7312", },