[PATCH v2] thermal: imx8mm_thermal: wait for a valid measurement

Marcus Folkesson marcus.folkesson at gmail.com
Fri Oct 14 00:28:36 PDT 2022


Hi Peng,

On Fri, Oct 14, 2022 at 09:20:21AM +0800, Peng Fan wrote:
> 
> 
> On 10/7/2022 3:30 PM, Marcus Folkesson wrote:
> > Check if first measurement is still pending or if temperature is out of
> > range.
> > Return and try again later if that is the case.
> > 
> > Fixes: 5eed800a6811 ("thermal: imx8mm: Add support for i.MX8MM thermal monitoring unit")
> > Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
> 
> NAK:
> Please refer: https://www.nxp.com/docs/en/errata/IMX8MM_0N87W.pdf
> ERR051272: TMU: Bit 31 of registers TMU_TSCR/TMU_TRITSR/TMU_TRATSR invalid

I see, thank you.

I think it is still worth to check the upper limit though, so I will
send a patch for that.

> 
> Thanks,
> Peng.

Best regards,
Marcus Folkesson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20221014/752538cf/attachment-0001.sig>


More information about the linux-arm-kernel mailing list