linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5
@ 2020-09-17 13:12 Eugen Hristev
  2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Eugen Hristev @ 2020-09-17 13:12 UTC (permalink / raw)
  To: linus.walleij, robh+dt, linux-gpio, devicetree, linux-arm-kernel,
	linux-kernel
  Cc: Eugen Hristev

Add compatible string for microchip sama7g5 SoC.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
index 04d16fb69eb7..265015bc0603 100644
--- a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
@@ -4,7 +4,9 @@ The Atmel PIO4 controller is used to select the function of a pin and to
 configure it.
 
 Required properties:
-- compatible: "atmel,sama5d2-pinctrl".
+- compatible:
+	"atmel,sama5d2-pinctrl"
+	"microchip,sama7g5-pinctrl"
 - reg: base address and length of the PIO controller.
 - interrupts: interrupt outputs from the controller, one for each bank.
 - interrupt-controller: mark the device node as an interrupt controller.
-- 
2.25.1


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

* [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
  2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
@ 2020-09-17 13:12 ` Eugen Hristev
  2020-09-17 14:28   ` Nicolas Ferre
                     ` (2 more replies)
  2020-09-17 14:26 ` [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Nicolas.Ferre
                   ` (3 subsequent siblings)
  4 siblings, 3 replies; 9+ messages in thread
From: Eugen Hristev @ 2020-09-17 13:12 UTC (permalink / raw)
  To: linus.walleij, robh+dt, linux-gpio, devicetree, linux-arm-kernel,
	linux-kernel
  Cc: Eugen Hristev

Add support for sama7g5 pinctrl block, which has 5 PIO banks.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c
index 1c852293cb96..9f62152d0a62 100644
--- a/drivers/pinctrl/pinctrl-at91-pio4.c
+++ b/drivers/pinctrl/pinctrl-at91-pio4.c
@@ -999,10 +999,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = {
 	.nbanks		= 4,
 };
 
+static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = {
+	.nbanks		= 5,
+};
+
 static const struct of_device_id atmel_pctrl_of_match[] = {
 	{
 		.compatible = "atmel,sama5d2-pinctrl",
 		.data = &atmel_sama5d2_pioctrl_data,
+	}, {
+		.compatible = "microchip,sama7g5-pinctrl",
+		.data = &microchip_sama7g5_pioctrl_data,
 	}, {
 		/* sentinel */
 	}
-- 
2.25.1


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

* Re: [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5
  2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
  2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
@ 2020-09-17 14:26 ` Nicolas.Ferre
  2020-09-21  6:27 ` Ludovic Desroches
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Nicolas.Ferre @ 2020-09-17 14:26 UTC (permalink / raw)
  To: Eugen.Hristev, linus.walleij, robh+dt, linux-gpio, devicetree,
	linux-arm-kernel, linux-kernel
  Cc: Ludovic.Desroches

On 17/09/2020 at 15:12, Eugen Hristev wrote:
> Add compatible string for microchip sama7g5 SoC.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Reviewed-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>   .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
> index 04d16fb69eb7..265015bc0603 100644
> --- a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
> @@ -4,7 +4,9 @@ The Atmel PIO4 controller is used to select the function of a pin and to
>   configure it.
>   
>   Required properties:
> -- compatible: "atmel,sama5d2-pinctrl".
> +- compatible:
> +	"atmel,sama5d2-pinctrl"
> +	"microchip,sama7g5-pinctrl"
>   - reg: base address and length of the PIO controller.
>   - interrupts: interrupt outputs from the controller, one for each bank.
>   - interrupt-controller: mark the device node as an interrupt controller.
> 


-- 
Nicolas Ferre

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

* Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
  2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
@ 2020-09-17 14:28   ` Nicolas Ferre
  2020-09-21  6:27   ` Ludovic Desroches
  2020-09-29 13:28   ` Linus Walleij
  2 siblings, 0 replies; 9+ messages in thread
From: Nicolas Ferre @ 2020-09-17 14:28 UTC (permalink / raw)
  To: Eugen Hristev, linus.walleij, robh+dt, linux-gpio, devicetree,
	linux-arm-kernel, linux-kernel
  Cc: Ludovic Desroches

On 17/09/2020 at 15:12, Eugen Hristev wrote:
> Add support for sama7g5 pinctrl block, which has 5 PIO banks.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Reviewed-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>   drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c
> index 1c852293cb96..9f62152d0a62 100644
> --- a/drivers/pinctrl/pinctrl-at91-pio4.c
> +++ b/drivers/pinctrl/pinctrl-at91-pio4.c
> @@ -999,10 +999,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = {
>   	.nbanks		= 4,
>   };
>   
> +static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = {
> +	.nbanks		= 5,
> +};
> +
>   static const struct of_device_id atmel_pctrl_of_match[] = {
>   	{
>   		.compatible = "atmel,sama5d2-pinctrl",
>   		.data = &atmel_sama5d2_pioctrl_data,
> +	}, {
> +		.compatible = "microchip,sama7g5-pinctrl",
> +		.data = &microchip_sama7g5_pioctrl_data,
>   	}, {
>   		/* sentinel */
>   	}
> 

Thanks Eugen, regards,
-- 
Nicolas Ferre

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

* Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
  2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
  2020-09-17 14:28   ` Nicolas Ferre
@ 2020-09-21  6:27   ` Ludovic Desroches
  2020-09-29 13:28   ` Linus Walleij
  2 siblings, 0 replies; 9+ messages in thread
From: Ludovic Desroches @ 2020-09-21  6:27 UTC (permalink / raw)
  To: Eugen Hristev
  Cc: linus.walleij, robh+dt, linux-gpio, devicetree, linux-arm-kernel,
	linux-kernel

On Thu, Sep 17, 2020 at 04:12:57PM +0300, Eugen Hristev wrote:
> Add support for sama7g5 pinctrl block, which has 5 PIO banks.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>

Thanks.

Ludovic

> ---
>  drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c
> index 1c852293cb96..9f62152d0a62 100644
> --- a/drivers/pinctrl/pinctrl-at91-pio4.c
> +++ b/drivers/pinctrl/pinctrl-at91-pio4.c
> @@ -999,10 +999,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = {
>  	.nbanks		= 4,
>  };
>  
> +static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = {
> +	.nbanks		= 5,
> +};
> +
>  static const struct of_device_id atmel_pctrl_of_match[] = {
>  	{
>  		.compatible = "atmel,sama5d2-pinctrl",
>  		.data = &atmel_sama5d2_pioctrl_data,
> +	}, {
> +		.compatible = "microchip,sama7g5-pinctrl",
> +		.data = &microchip_sama7g5_pioctrl_data,
>  	}, {
>  		/* sentinel */
>  	}
> -- 
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5
  2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
  2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
  2020-09-17 14:26 ` [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Nicolas.Ferre
@ 2020-09-21  6:27 ` Ludovic Desroches
  2020-09-23 20:22 ` Rob Herring
  2020-09-29 20:41 ` Linus Walleij
  4 siblings, 0 replies; 9+ messages in thread
From: Ludovic Desroches @ 2020-09-21  6:27 UTC (permalink / raw)
  To: Eugen Hristev
  Cc: linus.walleij, robh+dt, linux-gpio, devicetree, linux-arm-kernel,
	linux-kernel

On Thu, Sep 17, 2020 at 04:12:56PM +0300, Eugen Hristev wrote:
> Add compatible string for microchip sama7g5 SoC.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>

Thanks

Ludovic
> ---
>  .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
> index 04d16fb69eb7..265015bc0603 100644
> --- a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
> +++ b/Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt
> @@ -4,7 +4,9 @@ The Atmel PIO4 controller is used to select the function of a pin and to
>  configure it.
>  
>  Required properties:
> -- compatible: "atmel,sama5d2-pinctrl".
> +- compatible:
> +	"atmel,sama5d2-pinctrl"
> +	"microchip,sama7g5-pinctrl"
>  - reg: base address and length of the PIO controller.
>  - interrupts: interrupt outputs from the controller, one for each bank.
>  - interrupt-controller: mark the device node as an interrupt controller.
> -- 
> 2.25.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5
  2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
                   ` (2 preceding siblings ...)
  2020-09-21  6:27 ` Ludovic Desroches
@ 2020-09-23 20:22 ` Rob Herring
  2020-09-29 20:41 ` Linus Walleij
  4 siblings, 0 replies; 9+ messages in thread
From: Rob Herring @ 2020-09-23 20:22 UTC (permalink / raw)
  To: Eugen Hristev
  Cc: devicetree, linus.walleij, linux-kernel, linux-arm-kernel,
	robh+dt, linux-gpio

On Thu, 17 Sep 2020 16:12:56 +0300, Eugen Hristev wrote:
> Add compatible string for microchip sama7g5 SoC.
> 
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
> ---
>  .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
  2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
  2020-09-17 14:28   ` Nicolas Ferre
  2020-09-21  6:27   ` Ludovic Desroches
@ 2020-09-29 13:28   ` Linus Walleij
  2 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2020-09-29 13:28 UTC (permalink / raw)
  To: Eugen Hristev
  Cc: Rob Herring, open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux ARM, linux-kernel

On Thu, Sep 17, 2020 at 3:13 PM Eugen Hristev
<eugen.hristev@microchip.com> wrote:

> Add support for sama7g5 pinctrl block, which has 5 PIO banks.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Patch applied.

Yours,
Linus Walleij

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

* Re: [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5
  2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
                   ` (3 preceding siblings ...)
  2020-09-23 20:22 ` Rob Herring
@ 2020-09-29 20:41 ` Linus Walleij
  4 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2020-09-29 20:41 UTC (permalink / raw)
  To: Eugen Hristev
  Cc: Rob Herring, open list:GPIO SUBSYSTEM,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux ARM, linux-kernel

On Thu, Sep 17, 2020 at 3:13 PM Eugen Hristev
<eugen.hristev@microchip.com> wrote:

> Add compatible string for microchip sama7g5 SoC.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2020-09-29 20:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 13:12 [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Eugen Hristev
2020-09-17 13:12 ` [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Eugen Hristev
2020-09-17 14:28   ` Nicolas Ferre
2020-09-21  6:27   ` Ludovic Desroches
2020-09-29 13:28   ` Linus Walleij
2020-09-17 14:26 ` [PATCH 1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 Nicolas.Ferre
2020-09-21  6:27 ` Ludovic Desroches
2020-09-23 20:22 ` Rob Herring
2020-09-29 20:41 ` Linus Walleij

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).