Skip to contentSkip to conversation

arm64: dts: freescale: fix the schema check errors for fsl,tmu-calibration

PATCH RESEND Applied David Heidelberg 2 participants 2 messages Dec 15, 2023 – Dec 16, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 arm64: dts: freescale: fix the schema check errors for fsl,tmu-calibration

fsl,tmu-calibration contains cell pairs (u32-matrix). Mark them as such.

Use matching property syntax and allow correct validation.

No functional changes.

---
 .../arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 79 ++++++++---------
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 87 ++++++++++---------
 .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 81 ++++++++---------
 .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 74 ++++++++--------
 .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 74 ++++++++--------
 .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 73 ++++++++--------
 .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi |  4 +-
 7 files changed, 238 insertions(+), 234 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +40 -39
index d0733451d3ce..1e3fe3897b52 100644
@@ -307,45 +307,46 @@ tmu: tmu@1f00000 {
 			reg = <0x0 0x1f00000 0x0 0x10000>;
 			interrupts = <0 33 0x4>;
 			fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x60062>;
-			fsl,tmu-calibration = <0x00000000 0x00000025
-					       0x00000001 0x0000002c
-					       0x00000002 0x00000032
-					       0x00000003 0x00000039
-					       0x00000004 0x0000003f
-					       0x00000005 0x00000046
-					       0x00000006 0x0000004c
-					       0x00000007 0x00000053
-					       0x00000008 0x00000059
-					       0x00000009 0x0000005f
-					       0x0000000a 0x00000066
-					       0x0000000b 0x0000006c
-
-					       0x00010000 0x00000026
-					       0x00010001 0x0000002d
-					       0x00010002 0x00000035
-					       0x00010003 0x0000003d
-					       0x00010004 0x00000045
-					       0x00010005 0x0000004d
-					       0x00010006 0x00000055
-					       0x00010007 0x0000005d
-					       0x00010008 0x00000065
-					       0x00010009 0x0000006d
-
-					       0x00020000 0x00000026
-					       0x00020001 0x00000030
-					       0x00020002 0x0000003a
-					       0x00020003 0x00000044
-					       0x00020004 0x0000004e
-					       0x00020005 0x00000059
-					       0x00020006 0x00000063
-
-					       0x00030000 0x00000014
-					       0x00030001 0x00000021
-					       0x00030002 0x0000002e
-					       0x00030003 0x0000003a
-					       0x00030004 0x00000047
-					       0x00030005 0x00000053
-					       0x00030006 0x00000060>;
+			fsl,tmu-calibration =
+					<0x00000000 0x00000025>,
+					<0x00000001 0x0000002c>,
+					<0x00000002 0x00000032>,
+					<0x00000003 0x00000039>,
+					<0x00000004 0x0000003f>,
+					<0x00000005 0x00000046>,
+					<0x00000006 0x0000004c>,
+					<0x00000007 0x00000053>,
+					<0x00000008 0x00000059>,
+					<0x00000009 0x0000005f>,
+					<0x0000000a 0x00000066>,
+					<0x0000000b 0x0000006c>,
+
+					<0x00010000 0x00000026>,
+					<0x00010001 0x0000002d>,
+					<0x00010002 0x00000035>,
+					<0x00010003 0x0000003d>,
+					<0x00010004 0x00000045>,
+					<0x00010005 0x0000004d>,
+					<0x00010006 0x00000055>,
+					<0x00010007 0x0000005d>,
+					<0x00010008 0x00000065>,
+					<0x00010009 0x0000006d>,
+
+					<0x00020000 0x00000026>,
+					<0x00020001 0x00000030>,
+					<0x00020002 0x0000003a>,
+					<0x00020003 0x00000044>,
+					<0x00020004 0x0000004e>,
+					<0x00020005 0x00000059>,
+					<0x00020006 0x00000063>,
+
+					<0x00030000 0x00000014>,
+					<0x00030001 0x00000021>,
+					<0x00030002 0x0000002e>,
+					<0x00030003 0x0000003a>,
+					<0x00030004 0x00000047>,
+					<0x00030005 0x00000053>,
+					<0x00030006 0x00000060>;
 			#thermal-sensor-cells = <1>;
 		};
 
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +44 -43

93 lines not on this page · raw message

arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi +41 -40

87 lines not on this page · raw message

arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +37 -37

83 lines not on this page · raw message

arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +37 -37

83 lines not on this page · raw message

arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +37 -36

79 lines not on this page · raw message

arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +2 -2
index f176ca2e244e..6640b49670ae 100644
@@ -732,9 +732,9 @@ tmu: tmu@1f80000 {
 			fsl,tmu-range = <0x800000e6 0x8001017d>;
 			fsl,tmu-calibration =
 				/* Calibration data group 1 */
-				<0x00000000 0x00000035
+				<0x00000000 0x00000035>,
 				/* Calibration data group 2 */
-				0x00000001 0x00000154>;
+				<0x00000001 0x00000154>;
 			little-endian;
 			#thermal-sensor-cells = <1>;
 		};
Signature · 7 lines
2.43.0


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#1 lore raw
Quoted 7 lines · David Heidelberg

fsl,tmu-calibration contains cell pairs (u32-matrix). Mark them as such.

Use matching property syntax and allow correct validation.

No functional changes.

Applied, thanks!