mediatek: filogic: set correct PWM clock and clean thermal zone

* set correct clocks for PWM to work.
 * MT7986 PWM does have the 26MHz-clock-select, set that in patch
 * drop useless 'passive' trip point in thermal zone
 * extend pwm-fan to have 3 active operating points
 * set reasonable trip points in thermal zone
 * invert pwm-fan operating points and set shorter period to allow
   less noisy operation of the PWM fan of the BPi-R3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2022-10-09 16:34:35 +01:00
parent 629f2de1a7
commit 88eae0f036
3 changed files with 19 additions and 19 deletions

View File

@@ -447,7 +447,8 @@
};
&fan {
pwms = <&pwm 0 500000 0>;
pwms = <&pwm 0 10000 0>;
cooling-levels = <255 96 52 0>;
status = "okay";
};