Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] thermal: rcar_gen3_thermal: Read calibration from fuses
@ 2021-10-14 10:38 Niklas Söderlund
  2021-10-14 10:38 ` [PATCH v2 1/2] thermal: rcar_gen3_thermal: Store thcode and ptat in priv data Niklas Söderlund
  2021-10-14 10:38 ` [PATCH v2 2/2] thermal: rcar_gen3_thermal: Read calibration from hardware Niklas Söderlund
  0 siblings, 2 replies; 5+ messages in thread
From: Niklas Söderlund @ 2021-10-14 10:38 UTC (permalink / raw)
  To: Daniel Lezcano, linux-pm; +Cc: linux-renesas-soc, Niklas Söderlund

Hello,

This series allows the Gen3 thermal driver to read its calibration
values (THCODE and PTAT) from the fuses, if set. If the values are not
set the driver fall-back to the previously used pseudo values from the
datasheet.

Patch 1/2 prepare for reading the values from fuses by moving the
storage of the values used during calculation from global const to
members of the private data structures. While patch 2/2 populates the
private members with data from the fuses if available.

Niklas Söderlund (2):
  thermal: rcar_gen3_thermal: Store thcode and ptat in priv data
  thermal: rcar_gen3_thermal: Read calibration from hardware

 drivers/thermal/rcar_gen3_thermal.c | 113 +++++++++++++++++++++-------
 1 file changed, 86 insertions(+), 27 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-18 11:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-14 10:38 [PATCH v2 0/2] thermal: rcar_gen3_thermal: Read calibration from fuses Niklas Söderlund
2021-10-14 10:38 ` [PATCH v2 1/2] thermal: rcar_gen3_thermal: Store thcode and ptat in priv data Niklas Söderlund
2021-10-18 11:46   ` [thermal: thermal/next] " thermal-bot for Niklas Söderlund
2021-10-14 10:38 ` [PATCH v2 2/2] thermal: rcar_gen3_thermal: Read calibration from hardware Niklas Söderlund
2021-10-18 11:45   ` [thermal: thermal/next] " thermal-bot for Niklas Söderlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox