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

From: Marcus Folkesson
Date: Fri Oct 14 2022 - 03:28:43 EST


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@xxxxxxxxx>
>
> 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

Attachment: signature.asc
Description: PGP signature