dts: bindings: stm32-temp: force new series to define 'v25'
Set the 'v25' property of 'st,stm32-temp' to required, and remove its default value, to ensure new series cannot be introduced without setting the property to the correct value explicitly. This change does not require any DTSI modification, because there are only two files using this compatible (stm32f1.dtsi / stm32f2.dtsi), and both of these already set 'v25' explicitly. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
This commit is contained in:
parent
0fd095d6d1
commit
665f33ec51
@ -19,7 +19,7 @@ properties:
|
||||
|
||||
v25:
|
||||
type: int
|
||||
default: 760
|
||||
required: true
|
||||
description: |
|
||||
Voltage of temperature sensor at 25C in mV according to
|
||||
datasheet "Electrical characteristics/Operating conditions"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user