[PATCH v2 0/1] arm64: dts: exynos8895: Add m2-pmu, poweroff and reboot

STALE664d

Revision v2 of 2 in this series.

3 messages, 2 authors, 2024-12-14 · open the first message on its own page

[PATCH v2 0/1] arm64: dts: exynos8895: Add m2-pmu, poweroff and reboot

From: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Date: 2024-12-11 16:29:47

Hey folks,

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

After this patchset, I'm planning to submit patches for more hardware
support.

Kind regards,
Ivo.

Changes since v2:
 - Dropped the poweroff and reboot patch, since it works as-is with the
   included dtsi.

Ivaylo Ivanov (1):
  arm64: dts: exynos8895: Add a PMU node for the second cluster

 arch/arm64/boot/dts/exynos/exynos8895.dtsi | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

-- 
2.43.0

[PATCH v2 1/1] arm64: dts: exynos8895: Add a PMU node for the second cluster

From: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Date: 2024-12-11 16:29:48

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

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
---
 arch/arm64/boot/dts/exynos/exynos8895.dtsi | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/exynos/exynos8895.dtsi b/arch/arm64/boot/dts/exynos/exynos8895.dtsi
index ee393f4f0..90b318b2f 100644
--- a/arch/arm64/boot/dts/exynos/exynos8895.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos8895.dtsi
@@ -38,7 +38,17 @@ arm-a53-pmu {
 				     <&cpu3>;
 	};
 
-	/* There's no PMU model for the Mongoose cores */
+	mongoose-m2-pmu {
+		compatible = "samsung,mongoose-pmu";
+		interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
+			     <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
+		interrupt-affinity = <&cpu4>,
+				     <&cpu5>,
+				     <&cpu6>,
+				     <&cpu7>;
+	};
 
 	cpus {
 		#address-cells = <1>;
-- 
2.43.0

Re: [PATCH v2 0/1] arm64: dts: exynos8895: Add m2-pmu, poweroff and reboot

From: Krzysztof Kozlowski <hidden>
Date: 2024-12-14 10:49:54

On Wed, 11 Dec 2024 18:29:41 +0200, Ivaylo Ivanov wrote:
Hey folks,

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

After this patchset, I'm planning to submit patches for more hardware
support.

[...]
Applied, thanks!

[1/1] arm64: dts: exynos8895: Add a PMU node for the second cluster
      https://git.kernel.org/krzk/linux/c/8749e19c133e6790254252d6dc4fd16d67f7edee

Best regards,
-- 
Krzysztof Kozlowski [off-list ref]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help