]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:16:09 +0000 (16:16 +0200)
[ Upstream commit 6d49b3a0f351925b5ea5047166c112b7590b918a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-pca953x.c

index 0232c25a158645f588d2d9826ef1e2a36311f605..dc4088a47ab2d6abfd1e159eb4e6a523baa49757 100644 (file)
@@ -980,6 +980,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
        { .compatible = "ti,tca6424", .data = OF_953X(24, 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), },
        { }