Re: [PATCH 2/3] thermal: armada: add support for AP807 thermal data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Russell,

rmk+kernel@xxxxxxxxxxxxxxx wrote on Fri, 16 Jun 2023 12:50:42 +0100:

> From: Alex Leibovich <alexl@xxxxxxxxxxx>
> 
> Add support for the AP807 die thermal data. This is the same as AP806,
> except for the coefficients.
> 
> ap807 values taken from TSENSE_ADC_16FFC spec, which says:
> 	T(in Celsius) = T(code)*TSENE_GAIN+TSENE_OFFSET
> where in default:
> 	TSENE_OFFSET = 128.9
> 	TSENE_GAIN = 0.394
> 
> Signed-off-by: Alex Leibovich <alexl@xxxxxxxxxxx>
> Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@xxxxxxxxxxx>
> Reviewed-by: Stefan Chulski <stefanc@xxxxxxxxxxx>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>

Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

> ---
>  drivers/thermal/armada_thermal.c | 32 ++++++++++++++++++++++++++++++--
>  1 file changed, 30 insertions(+), 2 deletions(-)
> 


Thanks,
Miquèl




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux