diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-02-25 02:35:16 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-02-25 19:01:40 +0000 |
commit | ea33a5def506b0ba647f779e60e6ccca03c29a17 (patch) | |
tree | ee9521ebb962fa93aa05afac98deb8f090542170 /target/linux/mvebu/files/arch | |
parent | 2a104365dc50e3df5d63809aee16497402278f02 (diff) | |
download | upstream-ea33a5def506b0ba647f779e60e6ccca03c29a17.tar.gz upstream-ea33a5def506b0ba647f779e60e6ccca03c29a17.tar.bz2 upstream-ea33a5def506b0ba647f779e60e6ccca03c29a17.zip |
mvebu: puzzle: fix fan thermal cooling driver
Several fixes for the Puzzle WT61P803 hwmon driver were needed to make
it behave well as thermal cooling device:
- wire-up cooling device with OF node in device tree
- properly parse cooling-levels (u32 with range check vs. u8)
- actually use cooling-levels
- keep current state and only write to uC if state has changed
(avoids flooding the uC with commands which will result in uC crashing)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mvebu/files/arch')
0 files changed, 0 insertions, 0 deletions