summaryrefslogtreecommitdiff
path: root/net/mac80211/mesh_hwmp.c
diff options
context:
space:
mode:
authorJoão Paulo Gonçalves <joao.goncalves@toradex.com>2025-05-30 09:28:52 -0300
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2025-06-16 07:18:15 +0000
commit8667437758edea58809566cea478efdf14e845f1 (patch)
treee48beffac8f55c18dda1169798739eeaa503d838 /net/mac80211/mesh_hwmp.c
parent574a3ce2eae296f8ecd9d82c78779a9525d72566 (diff)
hwmon: (amc6821) Add cooling device supporttoradex_6.6-2.2.x-imx
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 'net/mac80211/mesh_hwmp.c')
0 files changed, 0 insertions, 0 deletions