Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: hwmon: amc6821: Add cooling levels

The fan can be used as a cooling device, add a description of the
`cooling-levels` property and restrict the maximum value to 255, which
is the highest PWM duty cycle supported by the AMC6821 fan controller.

Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250613-b4-amc6821-cooling-device-support-v4-1-a8fc063c55de@toradex.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

João Paulo Gonçalves and committed by
Guenter Roeck
f2a32ed8 36b0fef0

+6
+6
Documentation/devicetree/bindings/hwmon/ti,amc6821.yaml
··· 32 32 $ref: fan-common.yaml# 33 33 unevaluatedProperties: false 34 34 35 + properties: 36 + cooling-levels: 37 + description: PWM duty cycle values corresponding to thermal cooling states. 38 + items: 39 + maximum: 255 40 + 35 41 "#pwm-cells": 36 42 const: 2 37 43 description: |