[PATCH v3 27/30] ARM: dts: sun8i: h3: use calibration for ths
From: Philipp Rossak <hidden>
Date: 2018-09-06 11:47:52
Also in:
linux-devicetree, linux-iio, lkml
From: Philipp Rossak <hidden>
Date: 2018-09-06 11:47:52
Also in:
linux-devicetree, linux-iio, lkml
On 04.09.2018 18:46, Emmanuel Vadot wrote:
quoted
+ /* Data cells */ + thermal_calibration: calib at 234 { + reg = <0x234 0x8>; + };You are declaring 8 bytes of calibration data but to my knowledge it's only 2 bytes per sensor, so 2 bytes for H3. Am I missing something ? Thanks,
Emmanuel you are right, it is 2 bytes per Sensor and should be 2 bytes for H3, but the thermal calibration data field is on all chips 64 bit wide - so 8 bytes. So I'm reading here the complete calibration data field. Philipp