diff options
| author | Kyle Hsieh <Kyle.Hsieh@quantatw.com> | 2026-05-05 04:56:53 +0300 |
|---|---|---|
| committer | Jagpal S Gill <paligill@gmail.com> | 2026-05-15 20:03:17 +0300 |
| commit | 8527c4c1cd2339fe4c20ab8c8e9ce87804b67698 (patch) | |
| tree | d827948f0ebed638f307c9ce6b25e2a060fe2552 /upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb | |
| parent | 6a56a45931fb7015a3fc18553415909105b484d6 (diff) | |
| download | openbmc-8527c4c1cd2339fe4c20ab8c8e9ce87804b67698.tar.xz | |
meta-facebook: meta-ventura2: fix fan RPM reading at low duty cycle
The current fan dynamics configuration for MAX31790 (registers 0x08-0x0d)
forces bits 7:5 high, which prevents the tachometer from correctly
measuring fan speed when the duty cycle is below 10%.
Adjusting these bits ensures that fan RPM remains visible and
reportable even at low speeds (duty cycle < 10%).
Tested:
```
root@bmc-9082C307CDB7:~# mfg-tool fan-speed 2>/dev/null
{
"FCB_0_FAN0": {
"pwm": {
"current": 9.803921568627452,
"target": 9.803921568627452
},
"tach_il_speed_rpm": 3076.0,
"tach_ol_speed_rpm": 2506.0
},
"FCB_0_FAN1": {
"pwm": {
"current": 9.803921568627452,
"target": 9.803921568627452
},
"tach_il_speed_rpm": 3076.0,
"tach_ol_speed_rpm": 2510.0
},
"FCB_0_FAN2": {
"pwm": {
"current": 9.803921568627452,
"target": 9.803921568627452
},
"tach_il_speed_rpm": 3084.0,
"tach_ol_speed_rpm": 2499.0
},
"FCB_0_FAN3": {
"pwm": {
"current": 9.803921568627452,
"target": 9.803921568627452
},
"tach_il_speed_rpm": 3076.0,
"tach_ol_speed_rpm": 2491.0
}
}
```
Change-Id: Iedf6f23cc800da76b77f6c253a93335417198a54
Signed-off-by: Kyle Hsieh <Kyle.Hsieh@quantatw.com>
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb')
0 files changed, 0 insertions, 0 deletions
