WSL2-Linux-Kernel/Documentation/devicetree/bindings
Niklas Söderlund c15d1468f3 dt-bindings: thermal: Fix definition of cooling-maps contribution property
[ Upstream commit 49bcb1506f ]

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 11:04:07 +01:00
..
arc
arm dt-bindings: arm: Fix Toradex compatible typo 2021-09-17 16:02:41 -05:00
ata Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
auxdisplay An assortment of improvements for auxdisplay: 2021-09-12 16:00:49 -07:00
board
bus bus: ixp4xx: Add DT bindings for the IXP4xx expansion bus 2021-08-04 12:19:58 +02:00
chrome
clock Merge branches 'clk-kirkwood', 'clk-imx', 'clk-doc', 'clk-zynq' and 'clk-ralink' into clk-next 2021-09-01 15:27:07 -07:00
connector dt-bindings: connector: Add pd-disable property 2021-08-13 13:05:51 +02:00
counter
cpu
cpufreq Merge branch 'pm-opp' 2021-09-08 16:42:13 +02:00
crypto Devicetree updates for v5.14: 2021-07-03 10:54:08 -07:00
csky
ddr
devfreq More power management updates for 5.15-rc1 2021-09-08 16:38:25 -07:00
display drm fixes for 5.15-rc5 2021-10-08 09:58:50 -07:00
dma dmaengine updates for v5.15-rc1 2021-09-09 11:07:47 -07:00
dsp
dvfs
edac
eeprom Char / Misc driver updates for 5.14-rc1 2021-07-05 13:42:16 -07:00
extcon
firmware Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
fpga Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
fsi dt-bindings: fsi: Remove ibm,fsi2spi-restricted compatible 2021-07-19 16:56:22 +01:00
fuse
gnss
goldfish
gpio virtio,vdpa,vhost: features, fixes 2021-09-11 14:48:42 -07:00
gpu More power management updates for 5.15-rc1 2021-09-08 16:38:25 -07:00
h8300
hsi
hwlock
hwmon Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
i2c virtio,vdpa,vhost: features, fixes 2021-09-11 14:48:42 -07:00
i3c
iio Documentation:devicetree:bindings:iio:dac: Fix val 2021-11-18 19:16:07 +01:00
infiniband
input dt-bindings: input: tsc2005: Convert to YAML schema 2021-08-29 19:15:48 -07:00
interconnect dt-bindings: interconnect: sdm660: Add missing a2noc qos clocks 2021-09-13 15:49:55 +03:00
interrupt-controller dt-bindings: Use 'enum' instead of 'oneOf' plus 'const' entries 2021-08-30 07:01:24 -05:00
iommu dt-bindings: iommu: add DART iommu bindings 2021-08-12 13:15:02 +02:00
ipmi
leds dt-bindings: leds: Add retain-state-shutdown boolean 2021-08-20 11:00:05 +02:00
mailbox - mtk: added support for mt8192 and mt8195 2021-09-02 14:12:24 -07:00
media dt-bindings: media: nxp,imx7-mipi-csi2: Drop bad if/then schema 2021-12-17 10:30:13 +01:00
memory-controllers Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
mfd Revert "dt-bindings: pinctrl: bcm4708-pinmux: rework binding to use syscon" 2021-10-14 01:09:06 +02:00
mips
misc Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
mmc dt-bindings: Drop more redundant 'maxItems/minItems' 2021-10-01 17:49:24 -05:00
mtd MTD changes: 2021-09-05 10:50:12 -07:00
mux
nds32
net dt-bindings: net: Reintroduce PHY no lane swap binding 2021-12-14 10:57:18 +01:00
nios2
nvmem Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
openrisc/opencores
opp dt-bindings: opp: Convert to DT schema 2021-08-23 12:44:55 +05:30
pci dt-bindings: Drop more redundant 'maxItems/minItems' 2021-10-01 17:49:24 -05:00
perf
phy Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
pinctrl dt-bindings: pinctrl: brcm,ns-pinmux: drop unneeded CRU from example 2021-10-14 01:09:07 +02:00
pmem
power Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2021-09-11 09:08:28 -07:00
powerpc
pps
ptp
pwm dt-bindings: pwm: rockchip: Add description for rk3568 2021-09-02 21:41:03 +02:00
regmap
regulator regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property 2021-11-18 19:15:57 +01:00
remoteproc dt-bindings: remoteproc: qcom: adsp: Add SDM660 ADSP 2021-08-04 12:36:49 -05:00
reserved-memory dt-bindings: of: Add restricted DMA pool 2021-07-13 20:04:52 -04:00
reset Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
riscv RISC-V Patches for the 5.15 Merge Window, Part 1 2021-09-05 11:31:23 -07:00
rng dt-bindings: rng: convert Samsung Exynos TRNG to dtschema 2021-08-17 17:14:42 -05:00
rtc RTC for 5.15 2021-09-11 09:54:53 -07:00
scsi
security/tpm
serial Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
serio
sifive
siox
slimbus
soc Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
sound sound fixes for 5.15-rc1 2021-09-09 16:05:10 -07:00
soundwire
spi spi: Use 'flash' node name instead of 'spi-flash' in example 2021-09-21 15:25:10 +01:00
spmi Staging / IIO driver patches for 5.14-rc1 2021-07-05 14:01:53 -07:00
sram
staging/iio/adc
thermal dt-bindings: thermal: Fix definition of cooling-maps contribution property 2022-01-27 11:04:07 +01:00
timer Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
ufs dt-bindings: ufs: Add bindings for Samsung ufs host 2021-09-16 09:58:28 -05:00
usb dt-bindings: usb: mtk-xhci: add compatible for mt8195 2021-08-26 13:39:19 +02:00
virtio dt-bindings: virtio: Add binding for virtio devices 2021-09-05 16:23:08 -04:00
w1
watchdog dt-bindings: More use 'enum' instead of 'oneOf' plus 'const' entries 2021-09-10 14:54:21 -05:00
x86
xillybus
.gitignore
.yamllint
ABI.rst
Makefile dt-bindings: Output yamllint warnings to stderr 2021-08-20 08:05:51 -05:00
chosen.txt of: fdt: Add generic support for handling usable memory range property 2021-08-24 17:09:01 -05:00
common-properties.txt
example-schema.yaml
graph.txt
index.rst
jailhouse.txt
numa.txt
resource-names.txt
submitting-patches.rst
trivial-devices.yaml Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
unittest.txt
vendor-prefixes.yaml Devicetree updates for v5.15: 2021-09-01 18:34:51 -07:00
writing-bindings.rst
writing-schema.rst
xilinx.txt