]> git.ipfire.org Git - thirdparty/linux.git/commit
dt-bindings: thermal: cooling-devices: Update support for 3 cells cooling device
authorGaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Tue, 26 May 2026 14:08:11 +0000 (16:08 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 3 Jun 2026 07:12:59 +0000 (09:12 +0200)
commit6d0c207c0a95bc4832fe0189973f64734ef5bfc0
tree964a82ccadb77edec184219f24b5bf7c8d8f122b
parent2baee1cc03c65a35f0d053e5c5e646a3bdf6ed85
dt-bindings: thermal: cooling-devices: Update support for 3 cells cooling device

Extend the thermal cooling device binding to support a 3 cells specifier
along with the 2 cells format.

Update #cooling-cells property to enum to support both 2 and 3 arguments.

Fix pwm-fan.yaml to restrict the number of cells to 'const: 2'

Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Link: https://patch.msgid.link/20260526140802.1059293-22-daniel.lezcano@oss.qualcomm.com
Documentation/devicetree/bindings/hwmon/pwm-fan.yaml
Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml
Documentation/devicetree/bindings/thermal/thermal-zones.yaml