Skip to content

Commit f2a32ed

Browse files
JPSGoncalvesgroeck
authored andcommitted
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 <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/20250613-b4-amc6821-cooling-device-support-v4-1-a8fc063c55de@toradex.com Signed-off-by: Guenter Roeck <[email protected]>
1 parent 36b0fef commit f2a32ed

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/hwmon/ti,amc6821.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ properties:
3232
$ref: fan-common.yaml#
3333
unevaluatedProperties: false
3434

35+
properties:
36+
cooling-levels:
37+
description: PWM duty cycle values corresponding to thermal cooling states.
38+
items:
39+
maximum: 255
40+
3541
"#pwm-cells":
3642
const: 2
3743
description: |

0 commit comments

Comments
 (0)