Skip to contentSkip to conversation

dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5

PATCH In review Eugen Hristev 5 participants 9 messages Sep 17, 2020 – Sep 29, 2020

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

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

Add compatible string for microchip sama7g5 SoC.

---
 .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt +3 -1
index 04d16fb69eb7..265015bc0603 100644
@@ -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.
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH 2/2 pinctrl: at91-pio4: add support for sama7g5 SoC

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

---
 drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/pinctrl/pinctrl-at91-pio4.c +7 -0
index 1c852293cb96..9f62152d0a62 100644
@@ -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 */
 	}
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC

Quoted 3 lines · Eugen Hristev

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

Quoted 17 lines
---
  drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
  1 file changed, 7 insertions(+)
drivers/pinctrl/pinctrl-at91-pio4.c +4 -0
index 1c852293cb96..9f62152d0a62 100644
@@ -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,
+};
+

drivers/pinctrl/pinctrl-at91-pio4.c static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = { · line 1015

Quoted 10 lines
drivers/pinctrl/pinctrl-at91-pio4.c +3 -0
  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,

Signature · 6 lines
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 2/2
#3 lore raw

Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC

In reply to Eugen Hristev
Quoted 3 lines · Eugen Hristev

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

Thanks.

Ludovic

Quoted 34 lines
---
 drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/pinctrl/pinctrl-at91-pio4.c +7 -0
index 1c852293cb96..9f62152d0a62 100644
@@ -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 */
 	}
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Reviewed-by on v1 1/2
#5 lore raw
In reply to Eugen Hristev
Quoted 3 lines · Eugen Hristev

Add compatible string for microchip sama7g5 SoC.

Quoted 20 lines
---
  .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt +3 -1
index 04d16fb69eb7..265015bc0603 100644
@@ -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.
Signature · 6 lines
Nicolas Ferre

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Acked-by on v1 1/2
#6 lore raw
In reply to Eugen Hristev
Quoted 3 lines · Eugen Hristev

Add compatible string for microchip sama7g5 SoC.

Thanks

Ludovic

Quoted 27 lines
---
 .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt +3 -1
index 04d16fb69eb7..265015bc0603 100644
@@ -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.
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel