diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2022-08-19 11:09:21 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-23 01:44:02 +0000 |
commit | 788d105544b025c5e864554c3b8013c6cb8368b3 (patch) | |
tree | bc0721ce6f97d52a603e6ead3c63efb9ae86738d /include/config.h | |
parent | b648fac2c617ba35088b2ad358fb275587161d4f (diff) | |
download | chrome-ec-788d105544b025c5e864554c3b8013c6cb8368b3.tar.gz |
npcx: fan: Introduce CONFIG_FAN_BYPASS_SLOW_RESPONSE for slow response fan
CL:3539776 fine tune the fan control to avoid fan pwm is too
aggressive for slow response fan.
However, this fan control mechanism will affect normal response fan
with another device.
Add a new CONFIG_FAN_BYPASS_SLOW_RESPONSE for option.
BUG=b:237237424
BRANCH=none
TEST=On Redrix. Test FAN is working with expected rpm while startup.
TEST=make buildall
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I9c5388dbfe983b9a5f37f7bcb9217e92eab833ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3840993
Tested-by: Devin Lu <devin.lu@quantatw.com>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Devin Lu <devin.lu@quantatw.com>
Reviewed-by: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 67a3374933..a27c13b12a 100644 --- a/include/config.h +++ b/include/config.h @@ -1999,6 +1999,15 @@ */ #undef CONFIG_FAN_UPDATE_PERIOD +/* + * Enable fan slow response control mechanism. + * A specific type of fan needs a longer time to output the TACH + * signal to EC after EC outputs the PWM signal to the fan. + * During this period, the driver will read two consecutive RPM = 0. + * In this case, don't step the PWM duty too aggressively + */ +#undef CONFIG_FAN_BYPASS_SLOW_RESPONSE + /*****************************************************************************/ /* Flash configuration */ |