zephyr/dts
Aurelien Jarno f00ddfeb76 drivers: sensor: stm32_temp: drop ts-cal-offset property
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>
2022-07-01 11:38:02 +02:00
..
arc/synopsys dts: add reg-shift property to all ns16550 devices 2022-06-15 16:59:02 -05:00
arm drivers: sensor: stm32_temp: drop ts-cal-offset property 2022-07-01 11:38:02 +02:00
arm64 dts: arm64: intel: Enable Arm Timer for Intel Agilex SoC FPGA 2022-06-27 08:52:01 -05:00
bindings drivers: sensor: stm32_temp: drop ts-cal-offset property 2022-07-01 11:38:02 +02:00
common
nios2/intel dts: add reg-shift property to all ns16550 devices 2022-06-15 16:59:02 -05:00
posix
riscv dts: esp32: full ledc configuration in binding 2022-06-29 14:48:25 +00:00
sparc/gaisler dts: sparc: gaisler: Move SoC devicetree includes under a vendor dir 2022-05-09 17:54:48 -04:00
x86/intel dts: x86: intel: ia32: fix uart reg-shift 2022-06-17 10:45:28 -05:00
xtensa dts: esp32: full ledc configuration in binding 2022-06-29 14:48:25 +00:00
binding-template.yaml
Kconfig drivers: gpio: remove unused HAS_DTS_GPIO Kconfig symbol 2022-06-10 09:47:31 +02:00