mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu
@ 2024-12-14 11:58 Umer Uddin
  2024-12-14 11:58 ` [PATCH v1 1/1] arm64: dts: exynos990: Add a PMU node for the third cluster Umer Uddin
  2024-12-15 16:33 ` [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu Igor Belwon
  0 siblings, 2 replies; 4+ messages in thread
From: Umer Uddin @ 2024-12-14 11:58 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
  Cc: devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel,
	igor.belwon

Hi guys,

This series adds support for the mongoose cluster PMU in DT via
a compatible for it that was recently added.

This change was tested on my Samsung Galaxy S20 5G (x1s) and is
confirmed to be working.

Kind regards,
Umer.

Umer Uddin (1):
  arm64: dts: exynos990: Add a PMU node for the third cluster

 arch/arm64/boot/dts/exynos/exynos990.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/1] arm64: dts: exynos990: Add a PMU node for the third cluster
  2024-12-14 11:58 [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu Umer Uddin
@ 2024-12-14 11:58 ` Umer Uddin
  2024-12-22 14:26   ` Krzysztof Kozlowski
  2024-12-15 16:33 ` [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu Igor Belwon
  1 sibling, 1 reply; 4+ messages in thread
From: Umer Uddin @ 2024-12-14 11:58 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
  Cc: devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel,
	igor.belwon

Since we have a PMU compatiable for Samsung's Mongoose cores now, drop
the comment that explains the lack of it and define the node.

Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
---
 arch/arm64/boot/dts/exynos/exynos990.dtsi | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/exynos/exynos990.dtsi b/arch/arm64/boot/dts/exynos/exynos990.dtsi
index 2619f821b..c53df5d7c 100644
--- a/arch/arm64/boot/dts/exynos/exynos990.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos990.dtsi
@@ -46,7 +46,14 @@ arm-a76-pmu {
 				     <&cpu5>;
 	};
 
-	/* There's no PMU model for cluster2, which are the Mongoose cores. */
+	mongoose-m5-pmu {
+		compatible = "samsung,mongoose-pmu";
+		interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
+
+		interrupt-affinity = <&cpu6>,
+				     <&cpu7>;
+	};
 
 	cpus {
 		#address-cells = <1>;
-- 
2.47.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu
  2024-12-14 11:58 [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu Umer Uddin
  2024-12-14 11:58 ` [PATCH v1 1/1] arm64: dts: exynos990: Add a PMU node for the third cluster Umer Uddin
@ 2024-12-15 16:33 ` Igor Belwon
  1 sibling, 0 replies; 4+ messages in thread
From: Igor Belwon @ 2024-12-15 16:33 UTC (permalink / raw)
  To: umer.uddin
  Cc: alim.akhtar, conor+dt, devicetree, igor.belwon, krzk+dt,
	linux-arm-kernel, linux-kernel, linux-samsung-soc, robh

Hi Umer,

Tested-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>

M5 PMU got succesfully enabled on c1s.

Best regards,
Igor

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] arm64: dts: exynos990: Add a PMU node for the third cluster
  2024-12-14 11:58 ` [PATCH v1 1/1] arm64: dts: exynos990: Add a PMU node for the third cluster Umer Uddin
@ 2024-12-22 14:26   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-12-22 14:26 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar, Umer Uddin
  Cc: devicetree, linux-arm-kernel, linux-samsung-soc, linux-kernel,
	igor.belwon


On Sat, 14 Dec 2024 11:58:55 +0000, Umer Uddin wrote:
> Since we have a PMU compatiable for Samsung's Mongoose cores now, drop
> the comment that explains the lack of it and define the node.
> 
> 

Applied, thanks!

[1/1] arm64: dts: exynos990: Add a PMU node for the third cluster
      https://git.kernel.org/krzk/linux/c/86c0d7f230fe71952cddac9905e4c090e09ecf3c

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-22 14:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-14 11:58 [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu Umer Uddin
2024-12-14 11:58 ` [PATCH v1 1/1] arm64: dts: exynos990: Add a PMU node for the third cluster Umer Uddin
2024-12-22 14:26   ` Krzysztof Kozlowski
2024-12-15 16:33 ` [PATCH v1 0/1] arm64: dts: exynos990: Add m5-pmu Igor Belwon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®