arm64: dts: mediatek: mt8173-elm: Fix MT6397 PMIC sub-node names
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 10 Dec 2024 09:26:12 +0000 (17:26 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 12 Dec 2024 10:00:19 +0000 (11:00 +0100)
The MT6397 PMIC bindings specify exact names for its sub-nodes. The
names used in the current dts don't match, causing a validation error.

Fix up the names. Also drop the label for the regulators node, since
any reference should be against the individual regulator sub-nodes.

Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20241210092614.3951748-1-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi

index b91072f4723f3c30b42dea322d998436cafff8cb..b5d4b5baf4785fd1f3703e018c91d0020dba1dff 100644 (file)
                interrupt-controller;
                #interrupt-cells = <2>;
 
-               clock: mt6397clock {
+               clock: clocks {
                        compatible = "mediatek,mt6397-clk";
                        #clock-cells = <1>;
                };
                        #gpio-cells = <2>;
                };
 
-               regulator: mt6397regulator {
+               regulators {
                        compatible = "mediatek,mt6397-regulator";
 
                        mt6397_vpca15_reg: buck_vpca15 {
                        };
                };
 
-               rtc: mt6397rtc {
+               rtc: rtc {
                        compatible = "mediatek,mt6397-rtc";
                };
        };