Skip to content

Commit cff1d29

Browse files
idlethreaddlezcano
authored andcommitted
dt-bindings: thermal: Get rid of thermal.txt and replace references
Now that we have yaml bindings for the thermal subsystem, get rid of the old bindings (thermal.txt). Replace all references to thermal.txt in the Documentation with a link to the appropriate YAML bindings using the following search and replace pattern: - If the reference is specific to the thermal-sensor-cells property, replace with a pointer to thermal-sensor.yaml - If the reference is to the cooling-cells property, replace with a pointer to thermal-cooling-devices.yaml - If the reference is generic thermal bindings, replace with a reference to thermal*.yaml. Signed-off-by: Amit Kucheria <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/e9aacd33071a00568b67e110fa3bcc4d86d3e1e4.1595245166.git.amit.kucheria@linaro.org
1 parent 3f5a2cb commit cff1d29

24 files changed

+34
-616
lines changed

Documentation/devicetree/bindings/arm/arm,scmi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Required sub-node properties:
102102
[0] http://infocenter.arm.com/help/topic/com.arm.doc.den0056a/index.html
103103
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
104104
[2] Documentation/devicetree/bindings/power/power-domain.yaml
105-
[3] Documentation/devicetree/bindings/thermal/thermal.txt
105+
[3] Documentation/devicetree/bindings/thermal/thermal*.yaml
106106
[4] Documentation/devicetree/bindings/sram/sram.yaml
107107
[5] Documentation/devicetree/bindings/reset/reset.txt
108108

Documentation/devicetree/bindings/arm/arm,scpi.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Required properties:
108108

109109
[0] http://infocenter.arm.com/help/topic/com.arm.doc.dui0922b/index.html
110110
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
111-
[2] Documentation/devicetree/bindings/thermal/thermal.txt
111+
[2] Documentation/devicetree/bindings/thermal/thermal*.yaml
112112
[3] Documentation/devicetree/bindings/sram/sram.yaml
113113
[4] Documentation/devicetree/bindings/power/power-domain.yaml
114114

Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Required properties:
176176
"fsl,imx8qxp-sc-thermal"
177177
followed by "fsl,imx-sc-thermal";
178178

179-
- #thermal-sensor-cells: See Documentation/devicetree/bindings/thermal/thermal.txt
179+
- #thermal-sensor-cells: See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml
180180
for a description.
181181

182182
Example (imx8qxp):

Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Thermal:
111111
--------
112112

113113
For common binding part and usage, refer to
114-
Documentation/devicetree/bindings/thermal/thermal.txt
114+
Documentation/devicetree/bindings/thermal/thermal*.yaml
115115

116116
The thermal IP can probe the temperature all around the processor. It
117117
may feature several channels, each of them wired to one sensor.

Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ It is possible to setup an overheat interrupt by giving at least one
203203
critical point to any subnode of the thermal-zone node.
204204

205205
For common binding part and usage, refer to
206-
Documentation/devicetree/bindings/thermal/thermal.txt
206+
Documentation/devicetree/bindings/thermal/thermal*.yaml
207207

208208
Required properties:
209209
- compatible: must be one of:

Documentation/devicetree/bindings/cpufreq/cpufreq-dt.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Optional properties:
1818
in unit of nanoseconds.
1919
- voltage-tolerance: Specify the CPU voltage tolerance in percentage.
2020
- #cooling-cells:
21-
Please refer to Documentation/devicetree/bindings/thermal/thermal.txt.
21+
Please refer to
22+
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml.
2223

2324
Examples:
2425

Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Optional properties:
2121
flow is handled by hardware, hence no software "voltage tracking" is
2222
needed.
2323
- #cooling-cells:
24-
Please refer to Documentation/devicetree/bindings/thermal/thermal.txt
25-
for detail.
24+
For details, please refer to
25+
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
2626

2727
Example 1 (MT7623 SoC):
2828

Documentation/devicetree/bindings/cpufreq/nvidia,tegra20-cpufreq.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Required properties:
55
- clocks: Must contain an entry for the CPU clock.
66
See ../clocks/clock-bindings.txt for details.
77
- operating-points-v2: See ../bindings/opp/opp.txt for details.
8-
- #cooling-cells: Should be 2. See ../thermal/thermal.txt for details.
8+
- #cooling-cells: Should be 2. See ../thermal/thermal-cooling-devices.yaml for details.
99

1010
For each opp entry in 'operating-points-v2' table:
1111
- opp-supported-hw: Two bitfields indicating:

Documentation/devicetree/bindings/hwmon/gpio-fan.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ Optional properties:
1212
- alarm-gpios: This pin going active indicates something is wrong with
1313
the fan, and a udev event will be fired.
1414
- #cooling-cells: If used as a cooling device, must be <2>
15-
Also see: Documentation/devicetree/bindings/thermal/thermal.txt
15+
Also see:
16+
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
1617
min and max states are derived from the speed-map of the fan.
1718

1819
Note: At least one the "gpios" or "alarm-gpios" properties must be set.

Documentation/devicetree/bindings/hwmon/lm90.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Optional properties:
3434
LM90 "-ALERT" pin output.
3535
See interrupt-controller/interrupts.txt for the format.
3636

37-
- #thermal-sensor-cells: should be set to 1. See thermal/thermal.txt for
38-
details. See <include/dt-bindings/thermal/lm90.h> for the
37+
- #thermal-sensor-cells: should be set to 1. See thermal/thermal-sensor.yaml
38+
for details. See <include/dt-bindings/thermal/lm90.h> for the
3939
definition of the local, remote and 2nd remote sensor index
4040
constants.
4141

0 commit comments

Comments
 (0)