gpio: pca953x: Add support for the TI TCA9539
authorPeter Robinson <pbrobinson@gmail.com>
Sat, 1 Jun 2019 07:12:18 +0000 (08:12 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 2 Jun 2019 21:14:52 +0000 (23:14 +0200)
The TI TCA9539 is a variant of the PCA953x GPIO expander,
with 16 GPIOs and interrupt functionality.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c

index b7ef33f63392a29e0aca0329d5d6fb5abab05b52..c31ad558d056bc3e3d9436af986be865558edf45 100644 (file)
@@ -1180,6 +1180,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
        { .compatible = "ti,tca6408", .data = OF_953X( 8, PCA_INT), },
        { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
        { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
+       { .compatible = "ti,tca9539", .data = OF_953X(16, PCA_INT), },
 
        { .compatible = "onnn,cat9554", .data = OF_953X( 8, PCA_INT), },
        { .compatible = "onnn,pca9654", .data = OF_953X( 8, PCA_INT), },