* [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
* [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
2024-05-31 12:18 [PATCH 1/2] gpio: pca953x: Add support for TI TCA9535 variant Fabio Estevam
@ 2024-05-31 12:18 ` 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
1 sibling, 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
The TI TCA9535 variant has the same programming model as the NXP PCA9535.
Document the "ti,tca9535" compatible string.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
index 99febb8ea1b6..51e8390d6b32 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml
@@ -66,6 +66,7 @@ properties:
- ti,tca6408
- ti,tca6416
- ti,tca6424
+ - ti,tca9535
- ti,tca9538
- ti,tca9539
- ti,tca9554
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
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
1 sibling, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2024-05-31 14:54 UTC (permalink / raw)
To: Fabio Estevam
Cc: brgl, linus.walleij, robh, krzk+dt, conor+dt, linux-gpio,
devicetree
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
On Fri, May 31, 2024 at 09:18:01AM -0300, Fabio Estevam wrote:
> The TI TCA9535 variant has the same programming model as the NXP PCA9535.
>
> Document the "ti,tca9535" compatible string.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] gpio: pca953x: Add support for TI TCA9535 variant
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-06-03 8:24 ` Bartosz Golaszewski
1 sibling, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2024-06-03 8:24 UTC (permalink / raw)
To: brgl, Fabio Estevam
Cc: Bartosz Golaszewski, linus.walleij, robh, krzk+dt, conor+dt,
linux-gpio, devicetree
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
On Fri, 31 May 2024 09:18:00 -0300, Fabio Estevam wrote:
> 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).
>
> [...]
Applied, thanks!
[1/2] gpio: pca953x: Add support for TI TCA9535 variant
commit: 82466bb622e921fb1a3dc552c9e3d20b3c1da8ad
[2/2] dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
commit: 8fce7727a70e037002800eb5b70995a7cd337c7a
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
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
1 sibling, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2024-06-12 8:28 UTC (permalink / raw)
To: Fabio Estevam; +Cc: brgl, robh, krzk+dt, conor+dt, linux-gpio, devicetree
On Fri, May 31, 2024 at 2:18 PM Fabio Estevam <festevam@gmail.com> wrote:
> The TI TCA9535 variant has the same programming model as the NXP PCA9535.
>
> Document the "ti,tca9535" compatible string.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [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;
as well as URLs for NNTP newsgroup(s).