diff mbox series

[1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5

Message ID 20200917131257.273882-1-eugen.hristev@microchip.com
State Not Applicable
Headers show
Series [1/2] dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5 | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Eugen Hristev Sept. 17, 2020, 1:12 p.m. UTC
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(-)

Comments

Nicolas Ferre Sept. 17, 2020, 2:26 p.m. UTC | #1
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 Sept. 17, 2020, 2:28 p.m. UTC | #2
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,
Ludovic Desroches Sept. 21, 2020, 6:27 a.m. UTC | #3
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
Ludovic Desroches Sept. 21, 2020, 6:27 a.m. UTC | #4
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
Rob Herring Sept. 23, 2020, 8:22 p.m. UTC | #5
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>
Linus Walleij Sept. 29, 2020, 1:28 p.m. UTC | #6
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
Linus Walleij Sept. 29, 2020, 8:41 p.m. UTC | #7
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
diff mbox series

Patch

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.