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/patches-5.15/804-pwm-add-mt7986-support.patch | |
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/patches-5.15/804-pwm-add-mt7986-support.patch')
-rw-r--r-- | target/linux/mediatek/patches-5.15/804-pwm-add-mt7986-support.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/patches-5.15/804-pwm-add-mt7986-support.patch b/target/linux/mediatek/patches-5.15/804-pwm-add-mt7986-support.patch index fe095c5633..7a10dac051 100644 --- a/target/linux/mediatek/patches-5.15/804-pwm-add-mt7986-support.patch +++ b/target/linux/mediatek/patches-5.15/804-pwm-add-mt7986-support.patch @@ -7,7 +7,7 @@ +static const struct pwm_mediatek_of_data mt7986_pwm_data = { + .num_pwms = 2, + .pwm45_fixup = false, -+ .has_ck_26m_sel = false, ++ .has_ck_26m_sel = true, +}; + static const struct pwm_mediatek_of_data mt8516_pwm_data = { |