dt-bindings: gpio: pca95xx: add entry for pcal6408
Subsystems (2)
PATCH v2 1/2 dt-bindings: gpio: pca95xx: add entry for pcal6408
The NXP PCAL6408 is the 8-bit version of PCAL6416.
Signed-off-by Nate Drude <[email protected]>
--- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml +1 -0
@@ -47,6 +47,7 @@ properties: - nxp,pca9574 - nxp,pca9575 - nxp,pca9698 + - nxp,pcal6408 - nxp,pcal6416 - nxp,pcal6524 - nxp,pcal9535
Signature · 1 line
2.37.3
PATCH v2 2/2 gpio: pca953x: introduce support for nxp,pcal6408
The NXP PCAL6408 is the 8-bit version of PCAL6416.
Signed-off-by Nate Drude <[email protected]>
--- drivers/gpio/gpio-pca953x.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpio/gpio-pca953x.c +2 -0
@@ -89,6 +89,7 @@ static const struct i2c_device_id pca953x_id[] = { { "pca9575", 16 | PCA957X_TYPE | PCA_INT, }, { "pca9698", 40 | PCA953X_TYPE, }, + { "pcal6408", 8 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal6416", 16 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal6524", 24 | PCA953X_TYPE | PCA_LATCH_INT, }, { "pcal9535", 16 | PCA953X_TYPE | PCA_LATCH_INT, },
@@ -1243,6 +1244,7 @@ static const struct of_device_id pca953x_dt_ids[] = { { .compatible = "nxp,pca9575", .data = OF_957X(16, PCA_INT), }, { .compatible = "nxp,pca9698", .data = OF_953X(40, 0), }, + { .compatible = "nxp,pcal6408", .data = OF_953X(8, PCA_LATCH_INT), }, { .compatible = "nxp,pcal6416", .data = OF_953X(16, PCA_LATCH_INT), }, { .compatible = "nxp,pcal6524", .data = OF_953X(24, PCA_LATCH_INT), }, { .compatible = "nxp,pcal9535", .data = OF_953X(16, PCA_LATCH_INT), },
Signature · 1 line
2.37.3
Quoted 21 lines · Nate Drude
The NXP PCAL6408 is the 8-bit version of PCAL6416.
Signed-off-by Nate Drude <[email protected]>--- Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/gpio/gpio-pca95xx.yaml +1
-1@@ -47,6 +47,7 @@ properties: - nxp,pca9574 - nxp,pca9575 - nxp,pca9698 + - nxp,pcal6408 - nxp,pcal6416 - nxp,pcal6524 - nxp,pcal9535 --
Quoted 2 lines
2.37.3
Both applied, thanks!
Bart