diff mbox series

[v2,2/2] arm64: dts: mediatek: mt6359: fix dtbs_check error for RTC and regulators

Message ID 20241004030148.13366-2-macpaul.lin@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [v2,1/2] dt-bindings: mfd: mediatek: mt6397: add adc, codec and regulators for mt6359 | expand

Commit Message

Macpaul Lin Oct. 4, 2024, 3:01 a.m. UTC
This patch fixes the following dtbs_check errors:
1. 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
 - Update 'mt6359rtc' in 'mt6359.dtsi' with a generic device name 'rtc'
2. 'pmic: regulators: 'compatible' is a required property'
 - Add 'mediatek,mt6359-regulator' to compatible property.

Fixes: 3b7d143be4b7 ("arm64: dts: mt6359: add PMIC MT6359 related nodes")
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt6359.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Changes for v2:
 - No change.

Comments

AngeloGioacchino Del Regno Oct. 28, 2024, 4:08 p.m. UTC | #1
Il 04/10/24 05:01, Macpaul Lin ha scritto:
> This patch fixes the following dtbs_check errors:
> 1. 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
>   - Update 'mt6359rtc' in 'mt6359.dtsi' with a generic device name 'rtc'
> 2. 'pmic: regulators: 'compatible' is a required property'
>   - Add 'mediatek,mt6359-regulator' to compatible property.
> 
> Fixes: 3b7d143be4b7 ("arm64: dts: mt6359: add PMIC MT6359 related nodes")
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
index 8e1b8c85c6ed..dd732a820a7c 100644
--- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
@@ -18,6 +18,8 @@  mt6359codec: mt6359codec {
 		};
 
 		regulators {
+			compatible = "mediatek,mt6359-regulator";
+
 			mt6359_vs1_buck_reg: buck_vs1 {
 				regulator-name = "vs1";
 				regulator-min-microvolt = <800000>;
@@ -296,7 +298,7 @@  mt6359_vsram_others_sshub_ldo: ldo_vsram_others_sshub {
 			};
 		};
 
-		mt6359rtc: mt6359rtc {
+		mt6359_rtc: rtc {
 			compatible = "mediatek,mt6358-rtc";
 		};
 	};