arm64: dts: mediatek: Update mt81xx scpsys node to align with dt-bindings
authorTinghan Shen <tinghan.shen@mediatek.com>
Thu, 11 Aug 2022 02:58:00 +0000 (10:58 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 25 Aug 2022 14:47:04 +0000 (16:47 +0200)
Update scpsys nodes using simple-mfd in mt81xx SoC devicetree
to align with the bindings.

Add specific compatibles for syscon node, even it's a dummy compatible,
because syscon node must come with a specific compatible.

Remove the '#power-domain-cells" propertry since the simple-mfd node is
not the power domain provider; the provider is the child node.

Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Link: https://lore.kernel.org/r/20220811025813.21492-8-tinghan.shen@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8167.dtsi
arch/arm64/boot/dts/mediatek/mt8173.dtsi
arch/arm64/boot/dts/mediatek/mt8183.dtsi
arch/arm64/boot/dts/mediatek/mt8192.dtsi

index 54655f2..fbe1a11 100644 (file)
@@ -36,9 +36,8 @@
                };
 
                scpsys: syscon@10006000 {
-                       compatible = "syscon", "simple-mfd";
+                       compatible = "mediatek,mt8167-scpsys", "syscon", "simple-mfd";
                        reg = <0 0x10006000 0 0x1000>;
-                       #power-domain-cells = <1>;
 
                        spm: power-controller {
                                compatible = "mediatek,mt8167-power-controller";
index 6d9513c..b4d48f8 100644 (file)
                };
 
                scpsys: syscon@10006000 {
-                       compatible = "syscon", "simple-mfd";
+                       compatible = "mediatek,mt8173-scpsys", "syscon", "simple-mfd";
                        reg = <0 0x10006000 0 0x1000>;
-                       #power-domain-cells = <1>;
 
                        /* System Power Manager */
                        spm: power-controller {
index 7158948..a70b669 100644 (file)
                };
 
                scpsys: syscon@10006000 {
-                       compatible = "syscon", "simple-mfd";
+                       compatible = "mediatek,mt8183-scpsys", "syscon", "simple-mfd";
                        reg = <0 0x10006000 0 0x1000>;
-                       #power-domain-cells = <1>;
 
                        /* System Power Manager */
                        spm: power-controller {
index cbae5a5..8cd5906 100644 (file)
                };
 
                scpsys: syscon@10006000 {
-                       compatible = "syscon", "simple-mfd";
+                       compatible = "mediatek,mt8192-scpsys", "syscon", "simple-mfd";
                        reg = <0 0x10006000 0 0x1000>;
-                       #power-domain-cells = <1>;
 
                        /* System Power Manager */
                        spm: power-controller {