OrangePi_CM5/Documentation/devicetree/bindings/thermal
Niklas Söderlund a9c9d2ff64 dt-bindings: thermal: Fix definition of cooling-maps contribution property
[ Upstream commit 49bcb1506f2e095262c01bda7fd1c0db524c91e2 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 10:54:05 +01:00
..
allwinner,sun8i-a83t-ths.yaml dt-bindings: thermal: sun8i: Add binding for A100's THS controller 2020-10-12 12:08:36 +02: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 dt-bindings: thermal: Define BCM7216 thermal sensor compatible 2020-01-27 11:41:08 +01:00
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.txt dt-bindings: thermal: add file extension to brcm,ns-thermal 2017-06-22 12:07:31 -05:00
brcm,sr-thermal.txt dt-bindings: thermal: Add binding document for SR thermal 2019-02-05 16:05:02 -08:00
da9062-thermal.txt Documentation: devicetree: thermal: da9062/61 TJUNC temperature binding 2017-04-06 21:47:57 -07:00
db8500-thermal.txt
…
dove-thermal.txt
…
exynos-thermal.txt dt-bindings: remove 'interrupt-parent' from bindings 2018-07-25 14:09:39 -06:00
hisilicon-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02: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
imx8mm-thermal.yaml dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible 2020-09-14 16:48:30 -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: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +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-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 - Add support to enable/disable the thermal zones resulting on core code and 2020-08-06 18:10:55 -07: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: Add r8a774e1 support 2020-10-12 12:08:35 +02:00
rcar-thermal.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
rockchip-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02:00
socionext,uniphier-thermal.yaml dt-bindings: Remove more cases of 'allOf' containing a '$ref' 2020-06-11 13:50:43 -06:00
spear-thermal.txt
…
sprd-thermal.yaml dt-bindings: Another round of adding missing 'additionalProperties' 2020-10-06 10:55:25 -05:00
st,stm32-thermal.yaml dt-bindings: thermal: Convert stm32 thermal bindings to json-schema 2019-10-14 12:18:59 -05:00
st-thermal.txt
…
tango-thermal.txt dt-bindings: thermal: Get rid of thermal.txt and replace references 2020-07-21 10:40:08 +02: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: Explicitly allow additional properties in common schemas 2020-10-07 11:30:06 -05:00
thermal-zones.yaml dt-bindings: thermal: Fix definition of cooling-maps contribution property 2022-01-27 10:54:05 +01:00
ti,am654-thermal.yaml dt-bindings: thermal: k3: Fix the reg property 2020-06-30 09:01:40 -06:00
ti_soc_thermal.txt
…
zx2967-thermal.txt dt: bindings: add documentation for zx2967 family thermal sensor 2017-02-07 20:42:30 -08:00