]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt6358: fix dtbs_check error
authorMacpaul Lin <macpaul.lin@mediatek.com>
Tue, 29 Oct 2024 06:46:47 +0000 (14:46 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 4 Nov 2024 10:10:15 +0000 (11:10 +0100)
Fix DTBS check errors for 'mt6358codec' and 'mt6358regulator':

Error message is:
pmic: 'mt6358codec' and 'mt6358regulator' does not match any of the
regexes: 'pinctrl-[0-9]+'.
Rename these two device node to generic 'audio-codec' and 'regulators'.

Fixes: 9f8872221674 ("arm64: dts: mt6358: add PMIC MT6358 related nodes")
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Link: https://lore.kernel.org/r/20241029064647.13370-1-macpaul.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt6358.dtsi

index 641d452fbc0830dbef81ed7ba05f081ae21415f1..e23672a2eea4afd99603abf67833b8deab9b6040 100644 (file)
                        #io-channel-cells = <1>;
                };
 
-               mt6358codec: mt6358codec {
+               mt6358codec: audio-codec {
                        compatible = "mediatek,mt6358-sound";
                        mediatek,dmic-mode = <0>; /* two-wires */
                };
 
-               mt6358regulator: mt6358regulator {
+               mt6358regulator: regulators {
                        compatible = "mediatek,mt6358-regulator";
 
                        mt6358_vdram1_reg: buck_vdram1 {