gpio: pca953x: Add support for TI TCA9535 variant
Subsystems (2)
PATCH 1/2 gpio: pca953x: Add support for TI TCA9535 variant
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.
--- drivers/gpio/gpio-pca953x.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpio/gpio-pca953x.c +1 -0
@@ -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), },
Signature · 1 line
2.34.1
PATCH 2/2 dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
The TI TCA9535 variant has the same programming model as the NXP PCA9535.
Document the "ti,tca9535" compatible string.
--- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml +1 -0
@@ -66,6 +66,7 @@ properties: - ti,tca6408 - ti,tca6416 - ti,tca6424 + - ti,tca9535 - ti,tca9538 - ti,tca9539 - ti,tca9554
Signature · 1 line
2.34.1
Re: [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
Quoted 5 lines · 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 <[email protected]>
Re: [PATCH 2/2] dt-bindings: gpio: pca95xx: Document the TI TCA9535 variant
In reply to Fabio EstevamQuoted 5 lines · 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 <[email protected]>
Yours,
Linus Walleij
Bartosz Golaszewski
AppliedFrom: Bartosz Golaszewski <[email protected]>
Quoted 8 lines · 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).
[...]
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: 8fce7727a70e037002800eb5b70995a7cd337c7aBest regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>