Skip to content

Commit a985dce

Browse files
krzkdlezcano
authored andcommitted
dt-bindings: thermal: ti,j72xx: 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 323a613 commit a985dce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ description: |
2222
Temp(C) = (-9.2627e-12) * x^4 + (6.0373e-08) * x^3 + \
2323
(-1.7058e-04) * x^2 + (3.2512e-01) * x + (-4.9003e+01)
2424
25+
$ref: thermal-sensor.yaml#
26+
2527
properties:
2628
compatible:
2729
enum:
@@ -64,9 +66,8 @@ required:
6466
- compatible
6567
- reg
6668
- power-domains
67-
- "#thermal-sensor-cells"
6869

69-
additionalProperties: false
70+
unevaluatedProperties: false
7071

7172
examples:
7273
- |

0 commit comments

Comments
 (0)