Skip to contentSkip to conversation

arm64: dts: mt8173-elm: Correct the value of the property 'reg'

PATCH New Zhen Lei 1 participant 1 message May 21, 2021

Subsystems (2)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 arm64: dts: mt8173-elm: Correct the value of the property 'reg'

The values of property '#address-cells' and '#size-cells' defined in the parent node are both 1. Therefore, the value 0 of the upper 32 bits cannot be written.

This error is detected by reg.yaml, the information reported is as follows:

arch/arm64/boot/dts/mediatek/mt8173-elm.dt.yaml:
mt6397: syscfg_pctl_pmic@c000:reg:0: [0, 49152, 0, 264] is too long

---
 arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +1 -1
index 21452c51a20a813..9bc02ea020f10e8 100644
@@ -1112,7 +1112,7 @@ rtc: mt6397rtc {
 		syscfg_pctl_pmic: syscfg_pctl_pmic@c000 {
 			compatible = "mediatek,mt6397-pctl-pmic-syscfg",
 				     "syscon";
-			reg = <0 0x0000c000 0 0x0108>;
+			reg = <0x0000c000 0x0108>;
 		};
 	};
 };
Signature · 8 lines
2.26.0.106.g9fadedd



_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek