All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416
@ 2019-01-03 16:13 Thomas Petazzoni
  2019-01-03 16:13 ` [PATCH 2/2] gpio: pca953x: add support for pcal6416 type Thomas Petazzoni
  2019-01-07  9:54 ` [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416 Bartosz Golaszewski
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-01-03 16:13 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring, Mark Rutland
  Cc: linux-gpio, devicetree, Marek Vasut, Thomas Petazzoni

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
index a3f95d7b6c55..2fb1bfec4f13 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
@@ -16,6 +16,7 @@ Required properties:
 	nxp,pca9574
 	nxp,pca9575
 	nxp,pca9698
+	nxp,pcal6416
 	nxp,pcal6524
 	nxp,pcal9555a
 	maxim,max7310
-- 
2.20.1

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

* [PATCH 2/2] gpio: pca953x: add support for pcal6416 type
  2019-01-03 16:13 [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416 Thomas Petazzoni
@ 2019-01-03 16:13 ` Thomas Petazzoni
  2019-01-07  9:55   ` Bartosz Golaszewski
  2019-01-07  9:54 ` [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416 Bartosz Golaszewski
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2019-01-03 16:13 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Rob Herring, Mark Rutland
  Cc: linux-gpio, devicetree, Marek Vasut, Thomas Petazzoni

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.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 83617fdc661d..82d69ab51976 100644
--- a/drivers/gpio/gpio-pca953x.c
+++ b/drivers/gpio/gpio-pca953x.c
@@ -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, },
 
-- 
2.20.1

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

* Re: [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416
  2019-01-03 16:13 [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416 Thomas Petazzoni
  2019-01-03 16:13 ` [PATCH 2/2] gpio: pca953x: add support for pcal6416 type Thomas Petazzoni
@ 2019-01-07  9:54 ` Bartosz Golaszewski
  1 sibling, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2019-01-07  9:54 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Linus Walleij, Rob Herring, Mark Rutland, linux-gpio,
	linux-devicetree, Marek Vasut

czw., 3 sty 2019 o 17:13 Thomas Petazzoni
<thomas.petazzoni@bootlin.com> napisał(a):
>
> The NXP PCAL6416 is a variant of the PCA GPIO expander, with 16 GPIOs.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
>  Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
> index a3f95d7b6c55..2fb1bfec4f13 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt
> @@ -16,6 +16,7 @@ Required properties:
>         nxp,pca9574
>         nxp,pca9575
>         nxp,pca9698
> +       nxp,pcal6416
>         nxp,pcal6524
>         nxp,pcal9555a
>         maxim,max7310
> --
> 2.20.1
>

Queued for v5.1, thanks!

Bartosz

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

* Re: [PATCH 2/2] gpio: pca953x: add support for pcal6416 type
  2019-01-03 16:13 ` [PATCH 2/2] gpio: pca953x: add support for pcal6416 type Thomas Petazzoni
@ 2019-01-07  9:55   ` Bartosz Golaszewski
  0 siblings, 0 replies; 4+ messages in thread
From: Bartosz Golaszewski @ 2019-01-07  9:55 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Linus Walleij, Rob Herring, Mark Rutland, linux-gpio,
	linux-devicetree, Marek Vasut

czw., 3 sty 2019 o 17:13 Thomas Petazzoni
<thomas.petazzoni@bootlin.com> napisał(a):
>
> 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
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.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 83617fdc661d..82d69ab51976 100644
> --- a/drivers/gpio/gpio-pca953x.c
> +++ b/drivers/gpio/gpio-pca953x.c
> @@ -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, },
>
> --
> 2.20.1
>

Queued for v5.1, thanks!

Bartosz

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

end of thread, other threads:[~2019-01-07  9:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-03 16:13 [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416 Thomas Petazzoni
2019-01-03 16:13 ` [PATCH 2/2] gpio: pca953x: add support for pcal6416 type Thomas Petazzoni
2019-01-07  9:55   ` Bartosz Golaszewski
2019-01-07  9:54 ` [PATCH 1/2] dt-bindings: gpio: pca953x: document the nxp,pcal6416 Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.