From: Geert Uytterhoeven Date: Thu, 21 Mar 2019 09:21:45 +0000 (+0100) Subject: gpio: pca953x: Add support for CAT9554 X-Git-Tag: v5.2-rc1~89^2~16^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=932002f0028f1ada0f1948219f57b6cf7295ec24;p=thirdparty%2Flinux.git gpio: pca953x: Add support for CAT9554 The ON Semiconductor CAT9554 is a variant of the PCA953x GPIO expander, with 8 GPIOs and interrupt functionality. Signed-off-by: Geert Uytterhoeven Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 7e76830b33682..88c94d155e218 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -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), },