gpio: pca953x: Add support for the On Semi pca9655
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 13 Jun 2021 22:03:26 +0000 (23:03 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 16 Jun 2021 19:26:35 +0000 (21:26 +0200)
The On Semi pca9655 is a 16 bit variant of the On Semi pca9654 GPIO
expander, with 16 GPIOs and interrupt functionality.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
[Bartosz: fixed indentation as noted by Andy]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-pca953x.c

index c91d0565159661967faa6a73ae0dfc9834fcfada..f5cfc0698799aa87d6b9bc0d13ef3d8b06c4b3b0 100644 (file)
@@ -1241,6 +1241,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
 
        { .compatible = "onnn,cat9554", .data = OF_953X( 8, PCA_INT), },
        { .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), },
+       { .compatible = "onnn,pca9655", .data = OF_953X(16, PCA_INT), },
 
        { .compatible = "exar,xra1202", .data = OF_953X( 8, 0), },
        { }