Skip to contentSkip to conversation

dt-bindings: gpio: pca953x: document the nxp,pcal6416

PATCH Applied Thomas Petazzoni 2 participants 4 messages Jan 3, 2019 – Jan 7, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: gpio: pca953x: document the nxp,pcal6416

The NXP PCAL6416 is a variant of the PCA GPIO expander, with 16 GPIOs.

---
 Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +1 -0
index a3f95d7b6c55..2fb1bfec4f13 100644
@@ -16,6 +16,7 @@ Required properties:
 	nxp,pca9574
 	nxp,pca9575
 	nxp,pca9698
+	nxp,pcal6416
 	nxp,pcal6524
 	nxp,pcal9555a
 	maxim,max7310
Signature · 1 line
2.20.1
#1 lore raw

PATCH 2/2 gpio: pca953x: add support for pcal6416 type

The NXP PCAL6416, documented at [1], is a variant of the PCA GPIO expander with 16 GPIOs, and supporting an interrupt and the "extended" features for interrupt, pull-up/pull-down configuration, etc.

[1] https://www.nxp.com/docs/en/data-sheet/PCAL6416A.pdf

---
 drivers/gpio/gpio-pca953x.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-pca953x.c +1 -0
index 83617fdc661d..82d69ab51976 100644
@@ -88,6 +88,7 @@ static const struct i2c_device_id pca953x_id[] = {
 	{ "pca9575", 16 | PCA957X_TYPE | PCA_INT, },
 	{ "pca9698", 40 | PCA953X_TYPE, },
 
+	{ "pcal6416", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, },
 	{ "pcal6524", 24 | PCA953X_TYPE | PCA_INT | PCA_PCAL, },
 	{ "pcal9555a", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, },
 
Signature · 1 line
2.20.1
#2 lore raw

Re: [PATCH 2/2] gpio: pca953x: add support for pcal6416 type

czw., 3 sty 2019 o 17:13 Thomas Petazzoni
<[email protected]> napisał(a):

Quoted 25 lines

The NXP PCAL6416, documented at [1], is a variant of the PCA GPIO expander with 16 GPIOs, and supporting an interrupt and the "extended" features for interrupt, pull-up/pull-down configuration, etc.

[1] https://www.nxp.com/docs/en/data-sheet/PCAL6416A.pdf

---
 drivers/gpio/gpio-pca953x.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpio/gpio-pca953x.c +1 -1
index 83617fdc661d..82d69ab51976 100644
@@ -88,6 +88,7 @@ static const struct i2c_device_id pca953x_id[] = {
        { "pca9575", 16 | PCA957X_TYPE | PCA_INT, },
        { "pca9698", 40 | PCA953X_TYPE, },
 
+       { "pcal6416", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, },
        { "pcal6524", 24 | PCA953X_TYPE | PCA_INT | PCA_PCAL, },
        { "pcal9555a", 16 | PCA953X_TYPE | PCA_INT | PCA_PCAL, },
 
--
Quoted 2 lines

2.20.1

Queued for v5.1, thanks!

Bartosz

#3 lore raw
In reply to Thomas Petazzoni

czw., 3 sty 2019 o 17:13 Thomas Petazzoni
<[email protected]> napisał(a):

Quoted 21 lines

The NXP PCAL6416 is a variant of the PCA GPIO expander, with 16 GPIOs.

---
 Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +1 -1
index a3f95d7b6c55..2fb1bfec4f13 100644
@@ -16,6 +16,7 @@ Required properties:
        nxp,pca9574
        nxp,pca9575
        nxp,pca9698
+       nxp,pcal6416
        nxp,pcal6524
        nxp,pcal9555a
        maxim,max7310
--
Quoted 2 lines

2.20.1

Queued for v5.1, thanks!

Bartosz