Ricardo Pardini de89592d84
meson64: hwmon: (pwm-fan) add fan pwmX_enable attribute for pwm's exposed via hwmon (#2587)
- for manual/auto control of pwm fan (in the ODROID HC4 for example)
- original is at 8a63de9e2a
- discussion https://patchwork.kernel.org/project/linux-hwmon/patch/20201125163242.GA1264232@paju/
- I'd be much happier with a cooling map in the DTB, but this makes my fans spin correctly via fancontrol
- this affects all of meson64, but only for PWMs that are already exposed to hwmon

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2021-01-30 09:53:17 +01:00
..