Skip to content

Commit 3d0957b

Browse files
liambeguinBartosz Golaszewski
authored andcommitted
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>
1 parent 1b961a7 commit 3d0957b

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 },
@@ -1342,6 +1343,7 @@ static const struct of_device_id pca953x_dt_ids[] = {
13421343
{ .compatible = "ti,tca6408", .data = OF_953X( 8, PCA_INT), },
13431344
{ .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
13441345
{ .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
1346+
{ .compatible = "ti,tca9538", .data = OF_953X( 8, PCA_INT), },
13451347
{ .compatible = "ti,tca9539", .data = OF_953X(16, PCA_INT), },
13461348

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

0 commit comments

Comments
 (0)