[PATCHv5 5/5] thermal: rcar_gen3_thermal: Add delay in .thermal_init on r8a7795

2016-12-12 Thread Niklas Söderlund
From: Niklas Söderlund The .thermal_init needs to be delayed a short amount of time after setting REG_GEN3_CTSR to allow for the TEMP register to contain something useful. If it's not delayed theses warnings are common during boot: thermal thermal_zone0: failed to read out thermal zone (-5) ther

Re: [PATCHv5 5/5] thermal: rcar_gen3_thermal: Add delay in .thermal_init on r8a7795

2016-12-12 Thread Eduardo Valentin
On Mon, Dec 12, 2016 at 03:18:05PM +0100, Niklas Söderlund wrote: > From: Niklas Söderlund > > The .thermal_init needs to be delayed a short amount of time after > setting REG_GEN3_CTSR to allow for the TEMP register to contain > something useful. If it's not delayed theses warnings are common du

Re: [PATCHv5 5/5] thermal: rcar_gen3_thermal: Add delay in .thermal_init on r8a7795

2016-12-13 Thread Niklas Söderlund
On 2016-12-12 19:31:26 -0800, Eduardo Valentin wrote: > On Mon, Dec 12, 2016 at 03:18:05PM +0100, Niklas Söderlund wrote: > > From: Niklas Söderlund > > > > The .thermal_init needs to be delayed a short amount of time after > > setting REG_GEN3_CTSR to allow for the TEMP register to contain > > s