projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ba9d1
)
gpio: pca953x: Add support for TI TCA9535 variant
author
Fabio Estevam
<festevam@gmail.com>
Fri, 31 May 2024 12:18:00 +0000
(09:18 -0300)
committer
Bartosz Golaszewski
<bartosz.golaszewski@linaro.org>
Mon, 3 Jun 2024 08:24:09 +0000
(10:24 +0200)
Add support for the TI TCA9535 variant.
The NXP PCA9535 is already supported by the driver.
TCA9535 supports lower voltage operation (down to 1.65V VCC)
compared to PCA (down to 2.3V VCC).
>From a software perspective, these models are equivalent as they
have the same register map.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link:
https://lore.kernel.org/r/20240531121801.2161154-1-festevam@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-pca953x.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-pca953x.c
b/drivers/gpio/gpio-pca953x.c
index
77a2812
..
1f2bc29
100644
(file)
--- a/
drivers/gpio/gpio-pca953x.c
+++ b/
drivers/gpio/gpio-pca953x.c
@@
-1313,6
+1313,7
@@
static const struct of_device_id pca953x_dt_ids[] = {
{ .compatible = "ti,tca6408", .data = OF_953X( 8, PCA_INT), },
{ .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), },
{ .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
+ { .compatible = "ti,tca9535", .data = OF_953X(16, PCA_INT), },
{ .compatible = "ti,tca9538", .data = OF_953X( 8, PCA_INT), },
{ .compatible = "ti,tca9539", .data = OF_953X(16, PCA_INT), },