diff options
author | Nate Drude <nate.d@variscite.com> | 2022-09-13 13:24:36 -0500 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-09-14 14:14:51 +0200 |
commit | 6d50b79051edc298aba7f60184d9b2fb673f0628 (patch) | |
tree | 2b754dfb3fb6e431eb1562bb23ea40b50f107e05 /drivers | |
parent | 7bbf66e1b7b76d2487ceed51522669ab64057c06 (diff) | |
download | linux-stable-6d50b79051edc298aba7f60184d9b2fb673f0628.tar.gz linux-stable-6d50b79051edc298aba7f60184d9b2fb673f0628.tar.bz2 linux-stable-6d50b79051edc298aba7f60184d9b2fb673f0628.zip |
gpio: pca953x: introduce support for nxp,pcal6408
The NXP PCAL6408 is the 8-bit version of PCAL6416.
Signed-off-by: Nate Drude <nate.d@variscite.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-pca953x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index ecd7d169470b..00c1e2f105ad 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -89,6 +89,7 @@ static const struct i2c_device_id pca953x_id[] = { { "pca9575", 16 | PCA957X_TYPE | PCA_INT, }, { "pca9698", 40 | PCA953X_TYPE, }, + { "pcal6408", 8 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal6416", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal6524", 24 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal9535", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, @@ -1237,6 +1238,7 @@ static const struct of_device_id pca953x_dt_ids[] = { { .compatible = "nxp,pca9575", .data = OF_957X(16, PCA_INT), }, { .compatible = "nxp,pca9698", .data = OF_953X(40, 0), }, + { .compatible = "nxp,pcal6408", .data = OF_953X(8, PCA_LATCH_INT), }, { .compatible = "nxp,pcal6416", .data = OF_953X(16, PCA_LATCH_INT), }, { .compatible = "nxp,pcal6524", .data = OF_953X(24, PCA_LATCH_INT), }, { .compatible = "nxp,pcal9535", .data = OF_953X(16, PCA_LATCH_INT), }, |