gpio: pca953x: Add support for CAT9554
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 21 Mar 2019 09:21:45 +0000 (10:21 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 22 Mar 2019 15:45:33 +0000 (16:45 +0100)
The ON Semiconductor CAT9554 is a variant of the PCA953x GPIO expander,
with 8 GPIOs and interrupt functionality.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-pca953x.c

index 7e76830..88c94d1 100644 (file)
@@ -1167,6 +1167,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
        { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
        { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
 
+       { .compatible = "onnn,cat9554", .data = OF_953X( 8, PCA_INT), },
        { .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), },
 
        { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), },