Thread (40 messages) 40 messages, 8 authors, 2020-09-22

Re: [PATCH v5 08/16] thermal: sun8i: add TEMP_CALIB_MASK for calibration data in sun50i_h6_ths_calibrate

From: Maxime Ripard <hidden>
Date: 2020-08-25 13:37:22
Also in: linux-devicetree, linux-pm, lkml

On Fri, Jul 24, 2020 at 03:11:42PM +0800, Frank Lee wrote:
From: Yangtao Li <redacted>

For sun50i_h6_ths_calibrate(), the data read from nvmem needs a round of
calculation. On the other hand, the newer SOC may store other data in
the space other than 12bit sensor data. Add mask operation to read data
to avoid conversion error.

Signed-off-by: Yangtao Li <redacted>
Acked-by: Maxime Ripard <mripard@kernel.org>

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help