From 4ec1eed4e7d39fd8bebfcc7253168bb7185b2218 Mon Sep 17 00:00:00 2001 From: Guillaume Gautier Date: Thu, 13 Apr 2023 10:49:58 +0200 Subject: [PATCH] dts: bindings: sensor: add property for stm32f0x0 temp sensor The temperature sensor of the STM32F0x0 is similar to C0 (with one value for calibration) but uses a negative coefficient, so we add it to the bindings, just like in st,stm32-temp.yaml Signed-off-by: Guillaume Gautier --- dts/bindings/sensor/st,stm32c0-temp-cal.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dts/bindings/sensor/st,stm32c0-temp-cal.yaml b/dts/bindings/sensor/st,stm32c0-temp-cal.yaml index f1c975dd96a..a750047c3db 100644 --- a/dts/bindings/sensor/st,stm32c0-temp-cal.yaml +++ b/dts/bindings/sensor/st,stm32c0-temp-cal.yaml @@ -17,3 +17,7 @@ properties: Average slope of T-V chart (in uV/C) according to datasheet "Electrical characteristics/Operating conditions" STM32C0 Table 5.3.16 (min 2400 uV/C, max 2650, typ: 2530) + + ntc: + type: boolean + description: Negative Temperature Coefficient. True if STM32F0x0