Skip to content

Commit 960616d

Browse files
committed
dt-bindings: iio: adi,ltc2983: Fix 64-bit property sizes
The '/bits/ 64' notation applies the next <> list of values. Another <> list is encoded as 32-bits by default. IOW, each <> list needs to be preceeded with '/bits/ 64'. While the dts format allows this, as a rule we don't mix sizes for DT properties since all size information is lost in the dtb file. Signed-off-by: Rob Herring <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Reviewed-by: Nuno Sá <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f19638b commit 960616d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -448,17 +448,17 @@ examples:
448448
reg = <20>;
449449
adi,sensor-type = <9>; //custom thermocouple
450450
adi,single-ended;
451-
adi,custom-thermocouple = /bits/ 64
452-
<(-50220000) 0>,
453-
<(-30200000) 99100000>,
454-
<(-5300000) 135400000>,
455-
<0 273150000>,
456-
<40200000 361200000>,
457-
<55300000 522100000>,
458-
<88300000 720300000>,
459-
<132200000 811200000>,
460-
<188700000 922500000>,
461-
<460400000 1000000000>; //10 pairs
451+
adi,custom-thermocouple =
452+
/bits/ 64 <(-50220000) 0>,
453+
/bits/ 64 <(-30200000) 99100000>,
454+
/bits/ 64 <(-5300000) 135400000>,
455+
/bits/ 64 <0 273150000>,
456+
/bits/ 64 <40200000 361200000>,
457+
/bits/ 64 <55300000 522100000>,
458+
/bits/ 64 <88300000 720300000>,
459+
/bits/ 64 <132200000 811200000>,
460+
/bits/ 64 <188700000 922500000>,
461+
/bits/ 64 <460400000 1000000000>; //10 pairs
462462
};
463463
464464
};

0 commit comments

Comments
 (0)