linux/Documentation/devicetree/bindings/thermal
Niklas Söderlund 49bcb1506f dt-bindings: thermal: Fix definition of cooling-maps contribution property
When converting the thermal-zones bindings to yaml the definition of the
contribution property changed. The intention is the same, an integer
value expressing a ratio of a sum on how much cooling is provided by the
device to the zone. But after the conversion the integer value is
limited to the range 0 to 100 and expressed as a percentage.

This is problematic for two reasons.

- This do not match how the binding is used. Out of the 18 files that
  make use of the property only two (ste-dbx5x0.dtsi and
  ste-hrefv60plus.dtsi) sets it at a value that satisfy the binding,
  100. The remaining 16 files set the value higher and fail to validate.

- Expressing the value as a percentage instead of a ratio of the sum is
  confusing as there is nothing to enforce the sum in the zone is not
  greater then 100.

This patch restore the pre yaml conversion description and removes the
value limitation allowing the usage of the bindings to validate.

Fixes: 1202a442a3 ("dt-bindings: thermal: Add yaml bindings for thermal zones")
Reported-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/20211109103045.1403686-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Rob Herring <robh@kernel.org>
2021-11-29 14:30:20 -06:00
..
allwinner,sun8i-a83t-ths.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
amazon,al-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
amlogic,thermal.yaml dt-bindings: Clean-up schema indentation formatting 2020-04-16 16:59:22 -05:00
armada-thermal.txt docs: dt: fix references to ap806-system-controller.txt 2020-03-31 09:03:34 -06:00
brcm,avs-ro-thermal.yaml dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
brcm,avs-tmon.txt
brcm,bcm2835-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
brcm,ns-thermal.yaml dt-bindings: thermal: brcm,ns-thermal: Convert to the json-schema 2021-04-21 20:42:48 +02:00
brcm,sr-thermal.txt
da9062-thermal.txt
db8500-thermal.txt
dove-thermal.txt
exynos-thermal.txt
hisilicon-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
imx8mm-thermal.yaml dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible 2020-09-14 16:48:30 -06:00
imx-thermal.yaml dt-bindings: Use Shawn Guo's preferred e-mail for i.MX bindings 2020-08-18 10:31:43 -06:00
kirkwood-thermal.txt
max77620_thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
mediatek-thermal.txt dt-bindings: thermal: mediatek: add documentation for MT8516 SoC 2020-10-27 11:18:54 +01:00
nvidia,tegra30-tsensor.yaml dt-bindings: thermal: Add binding for Tegra30 thermal sensor 2021-07-04 18:28:04 +02:00
nvidia,tegra124-soctherm.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
nvidia,tegra186-bpmp-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
qcom-lmh.yaml dt-bindings: thermal: Add dt binding for QCOM LMh 2021-08-18 17:53:37 +02:00
qcom-spmi-adc-tm5.yaml dt-bindings: Drop type references on common properties 2021-03-23 15:27:52 -06:00
qcom-spmi-adc-tm-hc.yaml dt-bindings: thermal: qcom: add HC variant of adc-thermal monitor bindings 2021-10-15 09:13:55 +02:00
qcom-spmi-temp-alarm.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
qcom-tsens.yaml arm64: dts: qcom: sdm630: Add TSENS node 2021-08-04 15:07:03 -05:00
qoriq-thermal.yaml dt-bindings: thermal: Convert qoriq to json-schema 2020-06-15 10:18:52 -06:00
rcar-gen3-thermal.yaml dt-bindings: thermal: rcar-gen3-thermal: Support five TSC nodes on r8a779a0 2021-03-10 14:19:04 +01:00
rcar-thermal.yaml dt-bindings: thermal: rcar-thermal: Improve schema validation 2020-11-12 12:32:30 +01:00
rockchip-thermal.yaml dt-bindings: thermal: remove redundant comments from rockchip-thermal.yaml 2021-10-17 00:14:55 +02:00
socionext,uniphier-thermal.yaml dt-bindings: thermal: uniphier: Add binding for NX1 SoC 2021-10-18 13:59:57 +02:00
spear-thermal.txt
sprd-thermal.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
st-thermal.txt
st,stm32-thermal.yaml dt-bindings: treewide: Update @st.com email address to @foss.st.com 2021-11-11 22:27:16 -06:00
thermal-cooling-devices.yaml dt-bindings: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
thermal-generic-adc.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
thermal-idle.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
thermal-sensor.yaml dt-bindings: thermal: thermal-sensor: require "#thermal-sensor-cells" 2021-04-20 22:46:48 +02:00
thermal-zones.yaml dt-bindings: thermal: Fix definition of cooling-maps contribution property 2021-11-29 14:30:20 -06:00
ti_soc_thermal.txt
ti,am654-thermal.yaml dt-bindings: thermal: k3: Fix the reg property 2020-06-30 09:01:40 -06:00