mirror of
https://github.com/torvalds/linux.git
synced 2026-01-12 00:42:35 +08:00
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>
This commit is contained in:
committed by
Guenter Roeck
parent
36b0fef0b5
commit
f2a32ed869
@@ -32,6 +32,12 @@ properties:
|
||||
$ref: fan-common.yaml#
|
||||
unevaluatedProperties: false
|
||||
|
||||
properties:
|
||||
cooling-levels:
|
||||
description: PWM duty cycle values corresponding to thermal cooling states.
|
||||
items:
|
||||
maximum: 255
|
||||
|
||||
"#pwm-cells":
|
||||
const: 2
|
||||
description: |
|
||||
|
||||
Reference in New Issue
Block a user