summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorJoão Paulo Gonçalves <joao.goncalves@toradex.com>2025-05-30 09:28:52 -0300
committerJoão Paulo Gonçalves <joao.goncalves@toradex.com>2025-06-13 11:26:29 -0300
commit6f329821bc3670a255393df0a3a92c2838df4242 (patch)
tree9109053501944fc377a856fbc8c8f1b93688da67 /scripts/patch-kernel
parent9712fd7cb5f20e20a9f8bb47def96af21fed00d4 (diff)
hwmon: (amc6821) Add cooling device support
Add support for using the AMC6821 as a cooling device. The AMC6821 registers with the thermal framework only if the `cooling-levels` property is present in the fan device tree child node. If this property is present, the driver assumes the fan will operate in open-loop, and the kernel will control it directly. In this case, the driver will change the AMC6821 mode to manual (software DCY) and set the initial PWM duty cycle to the maximum fan cooling state level as defined in the DT. It is worth mentioning that the cooling device is registered on the child fan node, not on the fan controller node. Existing behavior is unchanged, so the AMC6821 can still be used without the thermal framework (hwmon only). Upstream-Status: Submitted [https://lore.kernel.org/lkml/20250613-b4-amc6821-cooling-device-support-v4-0-a8fc063c55de@toradex.com/] Signed-off-by: João Paulo Gonçalves <joao.goncalves@toradex.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions