]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: exynos990: Rename and sort PMU nodes
authorIgor Belwon <igor.belwon@mentallysanemainliners.org>
Sun, 5 Jan 2025 11:16:03 +0000 (12:16 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 5 Feb 2025 16:26:17 +0000 (17:26 +0100)
These nodes were sorted by name, but it's nice to have the same class of
devices together. As such, drop the pmu suffix and add "pmu" as a prefix.
This keeps consistency between other Exynos SoCs too.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
Link: https://lore.kernel.org/r/20250105-pmu-sorting-v1-1-b55519eaff2e@mentallysanemainliners.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynos990.dtsi

index 0e18711cbdc98a65cbd2d709cdd53a7680b833f2..dd7f99f51a75412f5c3b91c3425a63652546fa5e 100644 (file)
                pinctrl6 = &pinctrl_vts;
        };
 
-       arm-a55-pmu {
-               compatible = "arm,cortex-a55-pmu";
-               interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
-
-               interrupt-affinity = <&cpu0>,
-                                    <&cpu1>,
-                                    <&cpu2>,
-                                    <&cpu3>;
-       };
-
-       arm-a76-pmu {
-               compatible = "arm,cortex-a76-pmu";
-               interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
-                            <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
-
-               interrupt-affinity = <&cpu4>,
-                                    <&cpu5>;
-       };
-
-       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>;
                #size-cells = <0>;
                clock-output-names = "oscclk";
        };
 
+       pmu-a55 {
+               compatible = "arm,cortex-a55-pmu";
+               interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
+
+               interrupt-affinity = <&cpu0>,
+                                    <&cpu1>,
+                                    <&cpu2>,
+                                    <&cpu3>;
+       };
+
+       pmu-a76 {
+               compatible = "arm,cortex-a76-pmu";
+               interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+
+               interrupt-affinity = <&cpu4>,
+                                    <&cpu5>;
+       };
+
+       pmu-mongoose-m5 {
+               compatible = "samsung,mongoose-pmu";
+               interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>,
+                            <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>;
+
+               interrupt-affinity = <&cpu6>,
+                                    <&cpu7>;
+       };
+
        psci {
                compatible = "arm,psci-0.2";
                method = "hvc";