arm64: dts: exynos8895: Add m2-pmu, poweroff and reboot

Started by Ivaylo Ivanov on Dec 11, 2024 · 3 messages from 2 authors · Last reply Dec 14, 2024

Series

1 patch, 1 file

+11 −1

Subsystems (2)

Maintainers (3)

STALE689d LANDED

Status: Landed in mainline.

Revision v2 (2 revisions archived).

Revisions (2)
  1. v1
  2. v2 current [diff against previous]

open the first message on its own page

  1. [PATCH v2 1/1] arm64: dts: exynos8895: Add a PMU node for the second cluster
    Revisions and related patches
    Revisions (2)
    1. v1
    2. v2 current [diff against previous]
Message details and related content
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

Message details and related content
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
Message details and related content
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 / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help