* [PATCH 0/2] Enable CMU_PERIS and MCT for Exynos990
@ 2025-01-04 20:54 Igor Belwon
2025-01-04 20:54 ` [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible Igor Belwon
2025-01-04 20:54 ` [PATCH 2/2] arm64: dts: exynos990: Add CMU_PERIS and MCT nodes Igor Belwon
0 siblings, 2 replies; 7+ messages in thread
From: Igor Belwon @ 2025-01-04 20:54 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-kernel, devicetree, linux-arm-kernel,
linux-samsung-soc, Igor Belwon
Hi all!
This series enables a new clock block and the MCT for the Exynos990 SoC.
The MCT design is reused from previous SoCs. It generates 12 timer
interrupts.
Compile-time and run-time dependency:
[CMU_PERI] https://lore.kernel.org/linux-samsung-soc/20250104-exynos990-cmu-v1-0-9f54d69286d6@mentallysanemainliners.org/
Best regards
Igor
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
Igor Belwon (2):
dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible
arm64: dts: exynos990: Add CMU_PERIS and MCT nodes
.../bindings/timer/samsung,exynos4210-mct.yaml | 2 ++
arch/arm64/boot/dts/exynos/exynos990.dtsi | 30 ++++++++++++++++++++++
2 files changed, 32 insertions(+)
---
base-commit: 77c5a1c131c3e0c955965b94365e0e7727b37dc5
change-id: 20250104-cmu-nodes-5cfbd7c95f12
Best regards,
--
Igor Belwon <igor.belwon@mentallysanemainliners.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible
2025-01-04 20:54 [PATCH 0/2] Enable CMU_PERIS and MCT for Exynos990 Igor Belwon
@ 2025-01-04 20:54 ` Igor Belwon
2025-01-05 9:44 ` Krzysztof Kozlowski
2025-01-08 16:40 ` Daniel Lezcano
2025-01-04 20:54 ` [PATCH 2/2] arm64: dts: exynos990: Add CMU_PERIS and MCT nodes Igor Belwon
1 sibling, 2 replies; 7+ messages in thread
From: Igor Belwon @ 2025-01-04 20:54 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-kernel, devicetree, linux-arm-kernel,
linux-samsung-soc, Igor Belwon
Add a dedicated compatible for the MCT of the Exynos 990 SoC.
The design for the timer is reused from previous SoCs.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
index 02d1c355808e4eadd77b98247cd70e76aea72b21..12ff972bfefcc5dcef2a38582e963ea49a567d18 100644
--- a/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
+++ b/Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml
@@ -34,6 +34,7 @@ properties:
- samsung,exynos5433-mct
- samsung,exynos850-mct
- samsung,exynos8895-mct
+ - samsung,exynos990-mct
- tesla,fsd-mct
- const: samsung,exynos4210-mct
@@ -135,6 +136,7 @@ allOf:
- samsung,exynos5433-mct
- samsung,exynos850-mct
- samsung,exynos8895-mct
+ - samsung,exynos990-mct
then:
properties:
interrupts:
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] arm64: dts: exynos990: Add CMU_PERIS and MCT nodes
2025-01-04 20:54 [PATCH 0/2] Enable CMU_PERIS and MCT for Exynos990 Igor Belwon
2025-01-04 20:54 ` [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible Igor Belwon
@ 2025-01-04 20:54 ` Igor Belwon
1 sibling, 0 replies; 7+ messages in thread
From: Igor Belwon @ 2025-01-04 20:54 UTC (permalink / raw)
To: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-kernel, devicetree, linux-arm-kernel,
linux-samsung-soc, Igor Belwon
CMU_PERIS is a new clock controller that clocks the MCT. The MCT has 9
timers (1x count-up global timer, 8x count-down CPU local).
The global timer generates 4 interrupts, and each local timer
generates one interrupt. So, in total 12 interrupts.
Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
---
arch/arm64/boot/dts/exynos/exynos990.dtsi | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos990.dtsi b/arch/arm64/boot/dts/exynos/exynos990.dtsi
index 9d017dbed9523e874891f13258d331c3e829ca03..0e18711cbdc98a65cbd2d709cdd53a7680b833f2 100644
--- a/arch/arm64/boot/dts/exynos/exynos990.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos990.dtsi
@@ -181,6 +181,36 @@ chipid@10000000 {
reg = <0x10000000 0x100>;
};
+ cmu_peris: clock-controller@10020000 {
+ compatible = "samsung,exynos990-cmu-peris";
+ reg = <0x10020000 0x8000>;
+ #clock-cells = <1>;
+
+ clocks = <&oscclk>,
+ <&cmu_top CLK_DOUT_CMU_PERIS_BUS>;
+ clock-names = "oscclk", "bus";
+ };
+
+ timer@10040000 {
+ compatible = "samsung,exynos990-mct",
+ "samsung,exynos4210-mct";
+ reg = <0x10040000 0x800>;
+ clocks = <&oscclk>, <&cmu_peris CLK_GOUT_PERIS_MCT_PCLK>;
+ clock-names = "fin_pll", "mct";
+ interrupts = <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 471 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 475 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
gic: interrupt-controller@10101000 {
compatible = "arm,gic-400";
reg = <0x10101000 0x1000>,
--
2.45.2
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible
2025-01-04 20:54 ` [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible Igor Belwon
@ 2025-01-05 9:44 ` Krzysztof Kozlowski
2025-01-08 16:40 ` Daniel Lezcano
1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-01-05 9:44 UTC (permalink / raw)
To: Igor Belwon
Cc: Daniel Lezcano, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, linux-kernel, devicetree,
linux-arm-kernel, linux-samsung-soc
On Sat, Jan 04, 2025 at 09:54:16PM +0100, Igor Belwon wrote:
> Add a dedicated compatible for the MCT of the Exynos 990 SoC.
> The design for the timer is reused from previous SoCs.
>
> Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
> ---
> Documentation/devicetree/bindings/timer/samsung,exynos4210-mct.yaml | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible
2025-01-04 20:54 ` [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible Igor Belwon
2025-01-05 9:44 ` Krzysztof Kozlowski
@ 2025-01-08 16:40 ` Daniel Lezcano
2025-02-09 11:14 ` Krzysztof Kozlowski
1 sibling, 1 reply; 7+ messages in thread
From: Daniel Lezcano @ 2025-01-08 16:40 UTC (permalink / raw)
To: Igor Belwon, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar
Cc: Krzysztof Kozlowski, linux-kernel, devicetree, linux-arm-kernel,
linux-samsung-soc
On 04/01/2025 21:54, Igor Belwon wrote:
> Add a dedicated compatible for the MCT of the Exynos 990 SoC.
> The design for the timer is reused from previous SoCs.
>
> Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
> ---
Applied patch 1/2
Thanks
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible
2025-01-08 16:40 ` Daniel Lezcano
@ 2025-02-09 11:14 ` Krzysztof Kozlowski
2025-02-09 12:38 ` Daniel Lezcano
0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-09 11:14 UTC (permalink / raw)
To: Daniel Lezcano, Igor Belwon, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-kernel, devicetree, linux-arm-kernel, linux-samsung-soc
On 08/01/2025 17:40, Daniel Lezcano wrote:
> On 04/01/2025 21:54, Igor Belwon wrote:
>> Add a dedicated compatible for the MCT of the Exynos 990 SoC.
>> The design for the timer is reused from previous SoCs.
>>
>> Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
>> ---
>
> Applied patch 1/2
>
Hi Daniel,
Did this really happen? You replied month ago, but linux-next still does
not have this patch and now we got new warnings on next:
https://lore.kernel.org/all/202502070055.P29PYKEE-lkp@intel.com/
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible
2025-02-09 11:14 ` Krzysztof Kozlowski
@ 2025-02-09 12:38 ` Daniel Lezcano
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Lezcano @ 2025-02-09 12:38 UTC (permalink / raw)
To: Krzysztof Kozlowski, Igor Belwon, Thomas Gleixner, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-kernel, devicetree, linux-arm-kernel, linux-samsung-soc
On 09/02/2025 12:14, Krzysztof Kozlowski wrote:
> On 08/01/2025 17:40, Daniel Lezcano wrote:
>> On 04/01/2025 21:54, Igor Belwon wrote:
>>> Add a dedicated compatible for the MCT of the Exynos 990 SoC.
>>> The design for the timer is reused from previous SoCs.
>>>
>>> Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
>>> ---
>>
>> Applied patch 1/2
>>
>
> Hi Daniel,
>
> Did this really happen? You replied month ago, but linux-next still does
> not have this patch and now we got new warnings on next:
Hi Krzysztof,
thanks for pointing this out. Actually I forgot to push the branch :/
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-02-09 12:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-04 20:54 [PATCH 0/2] Enable CMU_PERIS and MCT for Exynos990 Igor Belwon
2025-01-04 20:54 ` [PATCH 1/2] dt-bindings: timer: exynos4210-mct: Add samsung,exynos990-mct compatible Igor Belwon
2025-01-05 9:44 ` Krzysztof Kozlowski
2025-01-08 16:40 ` Daniel Lezcano
2025-02-09 11:14 ` Krzysztof Kozlowski
2025-02-09 12:38 ` Daniel Lezcano
2025-01-04 20:54 ` [PATCH 2/2] arm64: dts: exynos990: Add CMU_PERIS and MCT nodes Igor Belwon
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).