dt-bindings: pinctrl: at91-pio4: add microchip,sama7g5
Subsystems (5)
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
@@ -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
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
@@ -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 = µchip_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
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.
Signed-off-by Eugen Hristev <[email protected]>
Quoted 17 lines
--- drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/pinctrl/pinctrl-at91-pio4.c +4
-0@@ -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
-0static const struct of_device_id atmel_pctrl_of_match[] = { { .compatible ="atmel,sama5d2-pinctrl" , .data = &atmel_sama5d2_pioctrl_data, + }, { + .compatible ="microchip,sama7g5-pinctrl" , + .data = µchip_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
Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
In reply to Eugen HristevQuoted 3 lines · Eugen Hristev
Add support for sama7g5 pinctrl block, which has 5 PIO banks.
Signed-off-by Eugen Hristev <[email protected]>
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@@ -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 = µchip_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
Re: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC
In reply to Eugen HristevQuoted 3 lines · Eugen Hristev
Add support for sama7g5 pinctrl block, which has 5 PIO banks.
Signed-off-by Eugen Hristev <[email protected]>
Patch applied.
Yours,
Linus Walleij
Quoted 3 lines · Eugen Hristev
Add compatible string for microchip sama7g5 SoC.
Signed-off-by Eugen Hristev <[email protected]>
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@@ -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
Quoted 3 lines · Eugen Hristev
Add compatible string for microchip sama7g5 SoC.
Signed-off-by Eugen Hristev <[email protected]>
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@@ -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
Quoted 7 lines · Eugen Hristev
Add compatible string for microchip sama7g5 SoC.
Signed-off-by Eugen Hristev <[email protected]>--- .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Quoted 3 lines · Eugen Hristev
Add compatible string for microchip sama7g5 SoC.
Signed-off-by Eugen Hristev <[email protected]>
Patch applied.
Yours,
Linus Walleij