Skip to content

Commit 07c54d9

Browse files
Johan Jonkerdlezcano
authored andcommitted
dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml
The tsadc node in rk356x.dtsi has more resets defined then currently allowed by rockchip-thermal.yaml, so fix that in the documentation. The driver now uses the devm_reset_control_array_get() function, so reset-names is no longer required, but keep it for legacy reasons. Signed-off-by: Johan Jonker <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]>
1 parent d012f91 commit 07c54d9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,15 @@ properties:
3737
- const: apb_pclk
3838

3939
resets:
40-
maxItems: 1
40+
minItems: 1
41+
maxItems: 3
4142

4243
reset-names:
44+
minItems: 1
4345
items:
4446
- const: tsadc-apb
47+
- const: tsadc
48+
- const: tsadc-phy
4549

4650
"#thermal-sensor-cells":
4751
const: 1
@@ -71,7 +75,6 @@ required:
7175
- clocks
7276
- clock-names
7377
- resets
74-
- reset-names
7578
- "#thermal-sensor-cells"
7679

7780
additionalProperties: false

0 commit comments

Comments
 (0)