f00ddfeb76
According to the formulas found in the reference manuals of the SoC families using the "st,stm32-temp-cal" version of the temperature sensor (i.e. G0, G4, H7, L0, L1, L4, L5, U5, WB, WL), the temperature is computed with the following formula: T = ((TS_CAL2_TEMP - TS_CAL1_TEMP) / (TS_CAL2 - TS_CAL1)) * (TS_DATA - TS_CAL1) + TS_CAL1_TEMP What is called ts-cal-offset in the stm32_temp driver is therefore the same value as TS_CAL1_TEMP1. Use it directly instead of defining another property. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> |
||
---|---|---|
.. | ||
stm32g0.dtsi | ||
stm32g0_crypt.dtsi | ||
stm32g0b0.dtsi | ||
stm32g0b0Xe.dtsi | ||
stm32g0b1.dtsi | ||
stm32g0b1Xb.dtsi | ||
stm32g0b1Xc.dtsi | ||
stm32g0b1Xe.dtsi | ||
stm32g0c1.dtsi | ||
stm32g0c1Xc.dtsi | ||
stm32g0c1Xe.dtsi | ||
stm32g030.dtsi | ||
stm32g030X6.dtsi | ||
stm32g030X8.dtsi | ||
stm32g031.dtsi | ||
stm32g031X4.dtsi | ||
stm32g031X6.dtsi | ||
stm32g031X8.dtsi | ||
stm32g041.dtsi | ||
stm32g041X6.dtsi | ||
stm32g041X8.dtsi | ||
stm32g050.dtsi | ||
stm32g050X6.dtsi | ||
stm32g050X8.dtsi | ||
stm32g051.dtsi | ||
stm32g051X6.dtsi | ||
stm32g051X8.dtsi | ||
stm32g061.dtsi | ||
stm32g061X6.dtsi | ||
stm32g061X8.dtsi | ||
stm32g070.dtsi | ||
stm32g070Xb.dtsi | ||
stm32g071.dtsi | ||
stm32g071X8.dtsi | ||
stm32g071Xb.dtsi | ||
stm32g081.dtsi | ||
stm32g081Xb.dtsi |