Skip to content

Commit f19e138

Browse files
committed
gpio: pca953x: add support for TCA9538
JIRA: https://issues.redhat.com/browse/RHEL-35606 commit 3d0957b Author: Liam Beguin <liambeguin@gmail.com> Date: Thu Aug 24 19:16:25 2023 -0400 gpio: pca953x: add support for TCA9538 The TCA9538 is an 8 bit version of the already supported TCA9539. This chip also has interrupt support. Signed-off-by: Liam Beguin <liambeguin@gmail.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
1 parent 3e30c82 commit f19e138

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpio/gpio-pca953x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ static const struct i2c_device_id pca953x_id[] = {
108108
{ "tca6408", 8 | PCA953X_TYPE | PCA_INT, },
109109
{ "tca6416", 16 | PCA953X_TYPE | PCA_INT, },
110110
{ "tca6424", 24 | PCA953X_TYPE | PCA_INT, },
111+
{ "tca9538", 8 | PCA953X_TYPE | PCA_INT, },
111112
{ "tca9539", 16 | PCA953X_TYPE | PCA_INT, },
112113
{ "tca9554", 8 | PCA953X_TYPE | PCA_INT, },
113114
{ "xra1202", 8 | PCA953X_TYPE },
@@ -1356,6 +1357,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
13561357
{ .compatible = "ti,tca6408", .data = OF_953X( 8, PCA_INT), },
13571358
{ .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
13581359
{ .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
1360+
{ .compatible = "ti,tca9538", .data = OF_953X( 8, PCA_INT), },
13591361
{ .compatible = "ti,tca9539", .data = OF_953X(16, PCA_INT), },
13601362

13611363
{ .compatible = "onnn,cat9554", .data = OF_953X( 8, PCA_INT), },

0 commit comments

Comments
 (0)