hwmon: (pwm-fan) Refactor fan power on/off
Summary of Changes
Enable fan on Orin systems to prevent overheating.
Approved Bugzilla Ticket
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2141743
Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm.git
Signed-off-by: David Marlin dmarlin@redhat.com
Scratch Brew build
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=49482757
Description
NVIDIA Orin system runs very hot because the fan does not turn on. Without a working fan we are unable to use these systems in our lab. This set of patches enables the fan on the Orin systems, and allows control through /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1.
Edited by David Marlin