Skip to content

Commit f9b2d6b

Browse files
krzkdlezcano
authored andcommitted
dt-bindings: thermal: sprd: 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. Reviewed-by: Baolin Wang <[email protected]> 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 28b3175 commit f9b2d6b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/thermal/sprd-thermal.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ maintainers:
1111
- Baolin Wang <[email protected]>
1212
- Chunyan Zhang <[email protected]>
1313

14+
$ref: thermal-sensor.yaml#
15+
1416
properties:
1517
compatible:
1618
const: sprd,ums512-thermal
@@ -77,11 +79,10 @@ required:
7779
- clock-names
7880
- nvmem-cells
7981
- nvmem-cell-names
80-
- "#thermal-sensor-cells"
8182
- "#address-cells"
8283
- "#size-cells"
8384

84-
additionalProperties: false
85+
unevaluatedProperties: false
8586

8687
examples:
8788
- |

0 commit comments

Comments
 (0)