public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] gpio: pca953x: Add support for TI TCA9535 variant
@ 2024-05-31 12:18 Fabio Estevam
  2024-05-31 12:18 ` [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the " Fabio Estevam
  2024-06-03  8:24 ` [PATCH 1/2] gpio: pca953x: Add support for " Bartosz Golaszewski
  0 siblings, 2 replies; 5+ messages in thread
From: Fabio Estevam @ 2024-05-31 12:18 UTC (permalink / raw)
  To: brgl
  Cc: linus.walleij, robh, krzk+dt, conor+dt, linux-gpio, devicetree,
	Fabio Estevam

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>
---
 drivers/gpio/gpio-pca953x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c
index 77a2812f2974..1f2bc29cb15e 100644
--- 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), },
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-12  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 12:18 [PATCH 1/2] gpio: pca953x: Add support for TI TCA9535 variant Fabio Estevam
2024-05-31 12:18 ` [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the " Fabio Estevam
2024-05-31 14:54   ` Conor Dooley
2024-06-12  8:28   ` Linus Walleij
2024-06-03  8:24 ` [PATCH 1/2] gpio: pca953x: Add support for " Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox