Thread (4 messages) flat view 4 messages, 1 author, 2017-09-13

[RFC 0/3] thermal: rcar_gen3_thermal: read calibration from hardware

From: Niklas Söderlund<niklas.soderlund+renesas@ragnatech.se>
Date: 2017-09-13 11:01:58
Also in: linux-renesas-soc

Hi,

This series extend the Renesas R-Car Gen3 thermal driver to try and read 
its calibration constants from hardware instead of using pseudo values 
hard-coded in the driver.

Unfortunately one registers involved in are not yet documented in 
datasheets and I don't have access to any board where the calibration 
data is fused. For the not documented register the BSP code was used as 
a reference. I do believe the code is ready for upstream consumption but 
pending new datasheet and/or access to hardware where calibration is 
fused to test it marked it as RFC. Once I have addressed one or both of 
these concerns I will resend without the RFC prefix.

The code is tested on H3 and M3-W where the calibration registers are 
not fused so only the fallback logic to pseudo values are truly tested.

Niklas Söderlund (3):
  thermal: rcar_gen3_thermal: read calibration from hardware
  arm64: dts: r8a7795: update register size for thermal
  arm64: dts: r8a7796: update register size for thermal

 arch/arm64/boot/dts/renesas/r8a7795.dtsi |  2 +-
 arch/arm64/boot/dts/renesas/r8a7796.dtsi |  2 +-
 drivers/thermal/rcar_gen3_thermal.c      | 70 +++++++++++++++++++++++++++++++-
 3 files changed, 70 insertions(+), 4 deletions(-)

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