thermal/drivers/rz2gl: Fix OTP Calibration Register values
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 28 Apr 2022 09:33:46 +0000 (10:33 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:52 +0000 (12:11 +0200)
commit2d37f5c90bdc659b329dac7cf6d165a4bbf34cb6
tree353590d9f137481674fe488ab56a84d88aaba5cc
parente126ce0bcc082382497219c323e1b941583c9036
thermal/drivers/rz2gl: Fix OTP Calibration Register values

As per the latest RZ/G2L Hardware User's Manual (Rev.1.10 Apr, 2022),
the bit 31 of TSU OTP Calibration Register(OTPTSUTRIM) indicates
whether bit [11:0] of OTPTSUTRIM is valid or invalid.

This patch updates the code to reflect this change.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220428093346.7552-1-biju.das.jz@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/rzg2l_thermal.c