Skip to content

Commit 9ec1d74

Browse files
okiasmpe
authored andcommitted
powerpc/fsl: Fix fsl,tmu-calibration to match the schema
fsl,tmu-calibration is defined as a u32 matrix in Documentation/devicetree/bindings/thermal/qoriq-thermal.yaml. Use matching property syntax. No functional changes. Signed-off-by: David Heidelberg <david@ixit.cz> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231212184515.82886-2-david@ixit.cz
1 parent 8fc63a9 commit 9ec1d74

2 files changed

Lines changed: 76 additions & 74 deletions

File tree

arch/powerpc/boot/dts/fsl/t1023si-post.dtsi

Lines changed: 40 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -367,45 +367,46 @@
367367
reg = <0xf0000 0x1000>;
368368
interrupts = <18 2 0 0>;
369369
fsl,tmu-range = <0xb0000 0xa0026 0x80048 0x30061>;
370-
fsl,tmu-calibration = <0x00000000 0x0000000f
371-
0x00000001 0x00000017
372-
0x00000002 0x0000001e
373-
0x00000003 0x00000026
374-
0x00000004 0x0000002e
375-
0x00000005 0x00000035
376-
0x00000006 0x0000003d
377-
0x00000007 0x00000044
378-
0x00000008 0x0000004c
379-
0x00000009 0x00000053
380-
0x0000000a 0x0000005b
381-
0x0000000b 0x00000064
382-
383-
0x00010000 0x00000011
384-
0x00010001 0x0000001c
385-
0x00010002 0x00000024
386-
0x00010003 0x0000002b
387-
0x00010004 0x00000034
388-
0x00010005 0x00000039
389-
0x00010006 0x00000042
390-
0x00010007 0x0000004c
391-
0x00010008 0x00000051
392-
0x00010009 0x0000005a
393-
0x0001000a 0x00000063
394-
395-
0x00020000 0x00000013
396-
0x00020001 0x00000019
397-
0x00020002 0x00000024
398-
0x00020003 0x0000002c
399-
0x00020004 0x00000035
400-
0x00020005 0x0000003d
401-
0x00020006 0x00000046
402-
0x00020007 0x00000050
403-
0x00020008 0x00000059
404-
405-
0x00030000 0x00000002
406-
0x00030001 0x0000000d
407-
0x00030002 0x00000019
408-
0x00030003 0x00000024>;
370+
fsl,tmu-calibration =
371+
<0x00000000 0x0000000f>,
372+
<0x00000001 0x00000017>,
373+
<0x00000002 0x0000001e>,
374+
<0x00000003 0x00000026>,
375+
<0x00000004 0x0000002e>,
376+
<0x00000005 0x00000035>,
377+
<0x00000006 0x0000003d>,
378+
<0x00000007 0x00000044>,
379+
<0x00000008 0x0000004c>,
380+
<0x00000009 0x00000053>,
381+
<0x0000000a 0x0000005b>,
382+
<0x0000000b 0x00000064>,
383+
384+
<0x00010000 0x00000011>,
385+
<0x00010001 0x0000001c>,
386+
<0x00010002 0x00000024>,
387+
<0x00010003 0x0000002b>,
388+
<0x00010004 0x00000034>,
389+
<0x00010005 0x00000039>,
390+
<0x00010006 0x00000042>,
391+
<0x00010007 0x0000004c>,
392+
<0x00010008 0x00000051>,
393+
<0x00010009 0x0000005a>,
394+
<0x0001000a 0x00000063>,
395+
396+
<0x00020000 0x00000013>,
397+
<0x00020001 0x00000019>,
398+
<0x00020002 0x00000024>,
399+
<0x00020003 0x0000002c>,
400+
<0x00020004 0x00000035>,
401+
<0x00020005 0x0000003d>,
402+
<0x00020006 0x00000046>,
403+
<0x00020007 0x00000050>,
404+
<0x00020008 0x00000059>,
405+
406+
<0x00030000 0x00000002>,
407+
<0x00030001 0x0000000d>,
408+
<0x00030002 0x00000019>,
409+
<0x00030003 0x00000024>;
409410
#thermal-sensor-cells = <1>;
410411
};
411412

arch/powerpc/boot/dts/fsl/t1040si-post.dtsi

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -447,41 +447,42 @@
447447
reg = <0xf0000 0x1000>;
448448
interrupts = <18 2 0 0>;
449449
fsl,tmu-range = <0xa0000 0x90026 0x8004a 0x1006a>;
450-
fsl,tmu-calibration = <0x00000000 0x00000025
451-
0x00000001 0x00000028
452-
0x00000002 0x0000002d
453-
0x00000003 0x00000031
454-
0x00000004 0x00000036
455-
0x00000005 0x0000003a
456-
0x00000006 0x00000040
457-
0x00000007 0x00000044
458-
0x00000008 0x0000004a
459-
0x00000009 0x0000004f
460-
0x0000000a 0x00000054
461-
462-
0x00010000 0x0000000d
463-
0x00010001 0x00000013
464-
0x00010002 0x00000019
465-
0x00010003 0x0000001f
466-
0x00010004 0x00000025
467-
0x00010005 0x0000002d
468-
0x00010006 0x00000033
469-
0x00010007 0x00000043
470-
0x00010008 0x0000004b
471-
0x00010009 0x00000053
472-
473-
0x00020000 0x00000010
474-
0x00020001 0x00000017
475-
0x00020002 0x0000001f
476-
0x00020003 0x00000029
477-
0x00020004 0x00000031
478-
0x00020005 0x0000003c
479-
0x00020006 0x00000042
480-
0x00020007 0x0000004d
481-
0x00020008 0x00000056
482-
483-
0x00030000 0x00000012
484-
0x00030001 0x0000001d>;
450+
fsl,tmu-calibration =
451+
<0x00000000 0x00000025>,
452+
<0x00000001 0x00000028>,
453+
<0x00000002 0x0000002d>,
454+
<0x00000003 0x00000031>,
455+
<0x00000004 0x00000036>,
456+
<0x00000005 0x0000003a>,
457+
<0x00000006 0x00000040>,
458+
<0x00000007 0x00000044>,
459+
<0x00000008 0x0000004a>,
460+
<0x00000009 0x0000004f>,
461+
<0x0000000a 0x00000054>,
462+
463+
<0x00010000 0x0000000d>,
464+
<0x00010001 0x00000013>,
465+
<0x00010002 0x00000019>,
466+
<0x00010003 0x0000001f>,
467+
<0x00010004 0x00000025>,
468+
<0x00010005 0x0000002d>,
469+
<0x00010006 0x00000033>,
470+
<0x00010007 0x00000043>,
471+
<0x00010008 0x0000004b>,
472+
<0x00010009 0x00000053>,
473+
474+
<0x00020000 0x00000010>,
475+
<0x00020001 0x00000017>,
476+
<0x00020002 0x0000001f>,
477+
<0x00020003 0x00000029>,
478+
<0x00020004 0x00000031>,
479+
<0x00020005 0x0000003c>,
480+
<0x00020006 0x00000042>,
481+
<0x00020007 0x0000004d>,
482+
<0x00020008 0x00000056>,
483+
484+
<0x00030000 0x00000012>,
485+
<0x00030001 0x0000001d>;
485486
#thermal-sensor-cells = <1>;
486487
};
487488

0 commit comments

Comments
 (0)