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