arm64: dts: freescale: fix the schema check errors for fsl,tmu-calibration
Subsystems (2)
PATCH RESEND 1/1 arm64: dts: freescale: fix the schema check errors for fsl,tmu-calibration
fsl,tmu-calibration is in u32-matrix format. Use matching property syntax and allows validation.
No functional changes. Fixes warnings as:
$ make dtbs_check
...
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dt.yaml: tmu@30260000: fsl,tmu-calibration:0: Additional items are not allowed (1, 41, 2, 47, 3, 53, 4, 61, 5, 67, 6, 75, 7, 81, 8, 87, 9, 95, 10, 103, 11, 111
, 65536, 27, 65537, 35, 65538, 43, 65539, 51, 65540, 59, 65541, 67, 65542, 75, 65543, 85, 65544, 93, 65545, 103, 65546, 112, 131072, 23, 131073, 35, 131074, 45, 131075, 55, 131076, 65, 131077, 75, 131078, 87, 13
1079, 99, 131080, 111, 196608, 21, 196609, 33, 196610, 45, 196611, 57, 196612, 69, 196613, 83, 196614, 95, 196615, 113 were unexpected)
From schema: Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml
...Signed-off-by David Heidelberg <[email protected]>
--- .../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
@@ -299,45 +299,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>; big-endian; #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
@@ -703,9 +703,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 · 1 line
2.33.0