Skip to content

Commit 17cdc47

Browse files
krzkdlezcano
authored andcommitted
dt-bindings: thermal: st,stm32: reference thermal-sensor schema
Device is a thermal sensor and it requires '#thermal-sensor-cells', so reference the thermal-sensor.yaml to simplify it and bring the common definition of '#thermal-sensor-cells' property. Acked-by: Conor Dooley <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent f9b2d6b commit 17cdc47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/thermal/st,stm32-thermal.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ title: STMicroelectronics STM32 digital thermal sensor (DTS)
99
maintainers:
1010
- Pascal Paillet <[email protected]>
1111

12+
$ref: thermal-sensor.yaml#
13+
1214
properties:
1315
compatible:
1416
const: st,stm32-thermal
@@ -30,14 +32,13 @@ properties:
3032
const: 0
3133

3234
required:
33-
- "#thermal-sensor-cells"
3435
- compatible
3536
- reg
3637
- interrupts
3738
- clocks
3839
- clock-names
3940

40-
additionalProperties: false
41+
unevaluatedProperties: false
4142

4243
examples:
4344
- |

0 commit comments

Comments
 (0)