* [PATCH v2 0/2] Enable RZ/G2L OSTM support
@ 2021-11-18 19:18 Biju Das
2021-11-18 19:18 ` [PATCH v2 1/2] arm64: dts: renesas: r9a07g044: Add OSTM nodes Biju Das
2021-11-18 19:18 ` [PATCH v2 2/2] arm64: dts: renesas: rzg2l-smarc-som: Enable OSTM Biju Das
0 siblings, 2 replies; 4+ messages in thread
From: Biju Das @ 2021-11-18 19:18 UTC (permalink / raw)
To: Rob Herring
Cc: Biju Das, Geert Uytterhoeven, Magnus Damm, linux-renesas-soc,
devicetree, Chris Paterson, Biju Das, Prabhakar Mahadev Lad
This patch series aims to enable Generic Timer Module (a.k.a OSTM) support
for RZ/G2L SMARC platform.
This patch series is depend upon [1]
[1] https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=579383
V1->V2:
* dropped patch1 as it moved to [1]
* Changed compatible string from rzg2l-ostm->renesas-ostm
* Added Rb tag from Geert for som dtsi
Biju Das (2):
arm64: dts: renesas: r9a07g044: Add OSTM nodes
arm64: dts: renesas: rzg2l-smarc-som: Enable OSTM
arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 33 +++++++++++++++++++
.../boot/dts/renesas/rzg2l-smarc-som.dtsi | 8 +++++
2 files changed, 41 insertions(+)
--
2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] arm64: dts: renesas: r9a07g044: Add OSTM nodes
2021-11-18 19:18 [PATCH v2 0/2] Enable RZ/G2L OSTM support Biju Das
@ 2021-11-18 19:18 ` Biju Das
2021-11-23 13:17 ` Geert Uytterhoeven
2021-11-18 19:18 ` [PATCH v2 2/2] arm64: dts: renesas: rzg2l-smarc-som: Enable OSTM Biju Das
1 sibling, 1 reply; 4+ messages in thread
From: Biju Das @ 2021-11-18 19:18 UTC (permalink / raw)
To: Rob Herring
Cc: Biju Das, Geert Uytterhoeven, Magnus Damm, linux-renesas-soc,
devicetree, Chris Paterson, Biju Das, Prabhakar Mahadev Lad
Add OSTM{0,1,2} nodes to RZ/G2L SoC DTSI.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v1->v2:
* Changed compatible from renesas,rzg2l-ostm -> renesas,ostm
---
arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
index 485ef5f0fea1..52124ca95f99 100644
--- a/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a07g044.dtsi
@@ -641,6 +641,39 @@
power-domains = <&cpg>;
status = "disabled";
};
+
+ ostm0: timer@12801000 {
+ compatible = "renesas,r9a07g044-ostm",
+ "renesas,ostm";
+ reg = <0x0 0x12801000 0x0 0x400>;
+ interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&cpg CPG_MOD R9A07G044_OSTM0_PCLK>;
+ resets = <&cpg R9A07G044_OSTM0_PRESETZ>;
+ power-domains = <&cpg>;
+ status = "disabled";
+ };
+
+ ostm1: timer@12801400 {
+ compatible = "renesas,r9a07g044-ostm",
+ "renesas,ostm";
+ reg = <0x0 0x12801400 0x0 0x400>;
+ interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&cpg CPG_MOD R9A07G044_OSTM1_PCLK>;
+ resets = <&cpg R9A07G044_OSTM1_PRESETZ>;
+ power-domains = <&cpg>;
+ status = "disabled";
+ };
+
+ ostm2: timer@12801800 {
+ compatible = "renesas,r9a07g044-ostm",
+ "renesas,ostm";
+ reg = <0x0 0x12801800 0x0 0x400>;
+ interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&cpg CPG_MOD R9A07G044_OSTM2_PCLK>;
+ resets = <&cpg R9A07G044_OSTM2_PRESETZ>;
+ power-domains = <&cpg>;
+ status = "disabled";
+ };
};
timer {
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] arm64: dts: renesas: rzg2l-smarc-som: Enable OSTM
2021-11-18 19:18 [PATCH v2 0/2] Enable RZ/G2L OSTM support Biju Das
2021-11-18 19:18 ` [PATCH v2 1/2] arm64: dts: renesas: r9a07g044: Add OSTM nodes Biju Das
@ 2021-11-18 19:18 ` Biju Das
1 sibling, 0 replies; 4+ messages in thread
From: Biju Das @ 2021-11-18 19:18 UTC (permalink / raw)
To: Rob Herring
Cc: Biju Das, Geert Uytterhoeven, Magnus Damm, linux-renesas-soc,
devicetree, Chris Paterson, Biju Das, Prabhakar Mahadev Lad
Enable OSTM{1, 2} interfaces on RZ/G2L SMARC EVK.
OSTM0 is reserved for TF-A.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v1->v2:
* Added Geert's Rb tag
---
arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
index 7e84a29dddfa..3bea97f16557 100644
--- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi
@@ -130,6 +130,14 @@
clock-frequency = <24000000>;
};
+&ostm1 {
+ status = "okay";
+};
+
+&ostm2 {
+ status = "okay";
+};
+
&pinctrl {
adc_pins: adc {
pinmux = <RZG2L_PORT_PINMUX(9, 0, 2)>; /* ADC_TRG */
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: renesas: r9a07g044: Add OSTM nodes
2021-11-18 19:18 ` [PATCH v2 1/2] arm64: dts: renesas: r9a07g044: Add OSTM nodes Biju Das
@ 2021-11-23 13:17 ` Geert Uytterhoeven
0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2021-11-23 13:17 UTC (permalink / raw)
To: Biju Das
Cc: Rob Herring, Magnus Damm, Linux-Renesas,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Chris Paterson, Biju Das, Prabhakar Mahadev Lad
On Thu, Nov 18, 2021 at 8:18 PM Biju Das <biju.das.jz@bp.renesas.com> wrote:
> Add OSTM{0,1,2} nodes to RZ/G2L SoC DTSI.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.17.
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] 4+ messages in thread
end of thread, other threads:[~2021-11-23 13:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 19:18 [PATCH v2 0/2] Enable RZ/G2L OSTM support Biju Das
2021-11-18 19:18 ` [PATCH v2 1/2] arm64: dts: renesas: r9a07g044: Add OSTM nodes Biju Das
2021-11-23 13:17 ` Geert Uytterhoeven
2021-11-18 19:18 ` [PATCH v2 2/2] arm64: dts: renesas: rzg2l-smarc-som: Enable OSTM Biju Das
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).