diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-10-09 16:34:35 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-10-09 16:41:16 +0100 |
commit | 88eae0f0366d483dad77e5e4e9cdb02c99523e69 (patch) | |
tree | b5c9a92d7b2e05255237d59facfa08a517ec3d9b /target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts | |
parent | 629f2de1a772bbfc6bbc37a3aacb67805dc9fb39 (diff) | |
download | upstream-88eae0f0366d483dad77e5e4e9cdb02c99523e69.tar.gz upstream-88eae0f0366d483dad77e5e4e9cdb02c99523e69.tar.bz2 upstream-88eae0f0366d483dad77e5e4e9cdb02c99523e69.zip |
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>
Diffstat (limited to 'target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts')
-rw-r--r-- | target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts index 37588e2ac4..8e47cb8579 100644 --- a/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts +++ b/target/linux/mediatek/dts/mt7986a-bananapi-bpi-r3.dts @@ -447,7 +447,8 @@ }; &fan { - pwms = <&pwm 0 500000 0>; + pwms = <&pwm 0 10000 0>; + cooling-levels = <255 96 52 0>; status = "okay"; }; |