* [PATCH v2 0/2] arm64: renesas: Add R-Car S4-8 Pin control support
@ 2022-02-21 15:48 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-21 15:48 UTC (permalink / raw)
To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven
Hi all,
This patch series adds pin control support for the Renesas R-Car S4-8
Soc on the Spider board, and enables pin control for the serial console.
Changes compared to v1[1]:
- Drop register banks 4-7, as they can only be accessed from the
Control Domain.
Serial console and I2C[2] have been tested on the Renesas Spider
development board.
Thanks for your comments!
[1] "[PATCH/RFC 00/15] arm64: renesas: Add-R-Car S4-8 Pin control support"
https://lore.kernel.org/r/cover.1642599415.git.geert+renesas@glider.be
[2] "[PATCH 0/3] arm64: dts: renesas: spider: Add I2C and EEPROM support"
https://lore.kernel.org/r/cover.1643898884.git.geert+renesas@glider.be
Geert Uytterhoeven (2):
arm64: dts: renesas: r8a779f0: Add pinctrl device node
arm64: dts: renesas: spider: Complete SCIF3 description
.../boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 23 +++++++++++++++++++
arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 6 +++++
2 files changed, 29 insertions(+)
--
2.25.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
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] 10+ messages in thread
* [PATCH v2 1/2] arm64: dts: renesas: r8a779f0: Add pinctrl device node
2022-02-21 15:48 ` Geert Uytterhoeven
@ 2022-02-21 15:48 ` Geert Uytterhoeven
-1 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-21 15:48 UTC (permalink / raw)
To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven
Add a device node for the Pin Function Controller on the Renesas R-Car
S4-8 (R8A779F0) SoC.
Note that the register block does not include registers for banks 4-7,
as they can only be accessed from the Control Domain.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Drop register banks 4-7, as they can only be accessed from the
Control Domain.
---
arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
index 0ac8c345558efc17..f4e549867371184c 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
@@ -69,6 +69,12 @@ rwdt: watchdog@e6020000 {
status = "disabled";
};
+ pfc: pinctrl@e6050000 {
+ compatible = "renesas,pfc-r8a779f0";
+ reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>,
+ <0 0xe6051000 0 0x16c>, <0 0xe6051800 0 0x16c>;
+ };
+
cpg: clock-controller@e6150000 {
compatible = "renesas,r8a779f0-cpg-mssr";
reg = <0 0xe6150000 0 0x4000>;
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2 1/2] arm64: dts: renesas: r8a779f0: Add pinctrl device node
@ 2022-02-21 15:48 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-21 15:48 UTC (permalink / raw)
To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven
Add a device node for the Pin Function Controller on the Renesas R-Car
S4-8 (R8A779F0) SoC.
Note that the register block does not include registers for banks 4-7,
as they can only be accessed from the Control Domain.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Drop register banks 4-7, as they can only be accessed from the
Control Domain.
---
arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
index 0ac8c345558efc17..f4e549867371184c 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
@@ -69,6 +69,12 @@ rwdt: watchdog@e6020000 {
status = "disabled";
};
+ pfc: pinctrl@e6050000 {
+ compatible = "renesas,pfc-r8a779f0";
+ reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>,
+ <0 0xe6051000 0 0x16c>, <0 0xe6051800 0 0x16c>;
+ };
+
cpg: clock-controller@e6150000 {
compatible = "renesas,r8a779f0-cpg-mssr";
reg = <0 0xe6150000 0 0x4000>;
--
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 related [flat|nested] 10+ messages in thread
* [PATCH v2 2/2] arm64: dts: renesas: spider: Complete SCIF3 description
2022-02-21 15:48 ` Geert Uytterhoeven
@ 2022-02-21 15:48 ` Geert Uytterhoeven
-1 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-21 15:48 UTC (permalink / raw)
To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven
Complete the description of the serial console by adding RTS/CTS, the
external clock crystal, and pin control.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- No changes.
---
.../boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
index 3a90932fe85c8243..6e07c54148e716d7 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
@@ -31,11 +31,34 @@ &extalr_clk {
clock-frequency = <32768>;
};
+&pfc {
+ pinctrl-0 = <&scif_clk_pins>;
+ pinctrl-names = "default";
+
+ scif3_pins: scif3 {
+ groups = "scif3_data", "scif3_ctrl";
+ function = "scif3";
+ };
+
+ scif_clk_pins: scif_clk {
+ groups = "scif_clk";
+ function = "scif_clk";
+ };
+};
+
&rwdt {
timeout-sec = <60>;
status = "okay";
};
&scif3 {
+ pinctrl-0 = <&scif3_pins>;
+ pinctrl-names = "default";
+
+ uart-has-rtscts;
status = "okay";
};
+
+&scif_clk {
+ clock-frequency = <24000000>;
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH v2 2/2] arm64: dts: renesas: spider: Complete SCIF3 description
@ 2022-02-21 15:48 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-21 15:48 UTC (permalink / raw)
To: Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel, Geert Uytterhoeven
Complete the description of the serial console by adding RTS/CTS, the
external clock crystal, and pin control.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- No changes.
---
.../boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
index 3a90932fe85c8243..6e07c54148e716d7 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
@@ -31,11 +31,34 @@ &extalr_clk {
clock-frequency = <32768>;
};
+&pfc {
+ pinctrl-0 = <&scif_clk_pins>;
+ pinctrl-names = "default";
+
+ scif3_pins: scif3 {
+ groups = "scif3_data", "scif3_ctrl";
+ function = "scif3";
+ };
+
+ scif_clk_pins: scif_clk {
+ groups = "scif_clk";
+ function = "scif_clk";
+ };
+};
+
&rwdt {
timeout-sec = <60>;
status = "okay";
};
&scif3 {
+ pinctrl-0 = <&scif3_pins>;
+ pinctrl-names = "default";
+
+ uart-has-rtscts;
status = "okay";
};
+
+&scif_clk {
+ clock-frequency = <24000000>;
+};
--
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 related [flat|nested] 10+ messages in thread
* RE: [PATCH v2 0/2] arm64: renesas: Add R-Car S4-8 Pin control support
2022-02-21 15:48 ` Geert Uytterhoeven
@ 2022-02-25 12:49 ` Yoshihiro Shimoda
-1 siblings, 0 replies; 10+ messages in thread
From: Yoshihiro Shimoda @ 2022-02-25 12:49 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel
Hi Geert-san,
> From: Geert Uytterhoeven, Sent: Tuesday, February 22, 2022 12:49 AM
>
> Hi all,
>
> This patch series adds pin control support for the Renesas R-Car S4-8
> Soc on the Spider board, and enables pin control for the serial console.
>
> Changes compared to v1[1]:
> - Drop register banks 4-7, as they can only be accessed from the
> Control Domain.
>
> Serial console and I2C[2] have been tested on the Renesas Spider
> development board.
>
> Thanks for your comments!
Thank you for the patch! All patches look good to me. So,
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Best regards,
Yoshihiro Shimoda
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [PATCH v2 0/2] arm64: renesas: Add R-Car S4-8 Pin control support
@ 2022-02-25 12:49 ` Yoshihiro Shimoda
0 siblings, 0 replies; 10+ messages in thread
From: Yoshihiro Shimoda @ 2022-02-25 12:49 UTC (permalink / raw)
To: Geert Uytterhoeven, Magnus Damm; +Cc: linux-renesas-soc, linux-arm-kernel
Hi Geert-san,
> From: Geert Uytterhoeven, Sent: Tuesday, February 22, 2022 12:49 AM
>
> Hi all,
>
> This patch series adds pin control support for the Renesas R-Car S4-8
> Soc on the Spider board, and enables pin control for the serial console.
>
> Changes compared to v1[1]:
> - Drop register banks 4-7, as they can only be accessed from the
> Control Domain.
>
> Serial console and I2C[2] have been tested on the Renesas Spider
> development board.
>
> Thanks for your comments!
Thank you for the patch! All patches look good to me. So,
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Best regards,
Yoshihiro Shimoda
_______________________________________________
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] 10+ messages in thread
* Re: [PATCH v2 0/2] arm64: renesas: Add R-Car S4-8 Pin control support
2022-02-25 12:49 ` Yoshihiro Shimoda
@ 2022-02-25 13:09 ` Geert Uytterhoeven
-1 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-25 13:09 UTC (permalink / raw)
To: Yoshihiro Shimoda; +Cc: Magnus Damm, linux-renesas-soc, linux-arm-kernel
Hi Shimoda-san,
On Fri, Feb 25, 2022 at 1:49 PM Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> > From: Geert Uytterhoeven, Sent: Tuesday, February 22, 2022 12:49 AM
> > This patch series adds pin control support for the Renesas R-Car S4-8
> > Soc on the Spider board, and enables pin control for the serial console.
> >
> > Changes compared to v1[1]:
> > - Drop register banks 4-7, as they can only be accessed from the
> > Control Domain.
> >
> > Serial console and I2C[2] have been tested on the Renesas Spider
> > development board.
> >
> > Thanks for your comments!
>
> Thank you for the patch! All patches look good to me. So,
>
> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thank you, queuing in renesas-devel for v5.18.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2 0/2] arm64: renesas: Add R-Car S4-8 Pin control support
@ 2022-02-25 13:09 ` Geert Uytterhoeven
0 siblings, 0 replies; 10+ messages in thread
From: Geert Uytterhoeven @ 2022-02-25 13:09 UTC (permalink / raw)
To: Yoshihiro Shimoda; +Cc: Magnus Damm, linux-renesas-soc, linux-arm-kernel
Hi Shimoda-san,
On Fri, Feb 25, 2022 at 1:49 PM Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> > From: Geert Uytterhoeven, Sent: Tuesday, February 22, 2022 12:49 AM
> > This patch series adds pin control support for the Renesas R-Car S4-8
> > Soc on the Spider board, and enables pin control for the serial console.
> >
> > Changes compared to v1[1]:
> > - Drop register banks 4-7, as they can only be accessed from the
> > Control Domain.
> >
> > Serial console and I2C[2] have been tested on the Renesas Spider
> > development board.
> >
> > Thanks for your comments!
>
> Thank you for the patch! All patches look good to me. So,
>
> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thank you, queuing in renesas-devel for v5.18.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
_______________________________________________
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] 10+ messages in thread