summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chi <peter_chi@wistron.corp-partner.google.com>2022-06-10 15:36:32 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-13 12:21:23 +0000
commitcb9a0937d6f6ddf5ea67e6c02961273b64eae815 (patch)
tree93f4b20035328237eeddcc926f07dd1910cb179d
parent90ef39a38c4cd98c76a56537c0f54e28dd20f75e (diff)
downloadchrome-ec-cb9a0937d6f6ddf5ea67e6c02961273b64eae815.tar.gz
crota: modify fan frequency
Modify fan freq to 25kHz and remove the PWM_CONFIG_DSLEEP flag. BUG=b:235552938 BRANCH=none TEST=make -j BOARD=crota Signed-off-by: Peter Chi <peter_chi@wistron.corp-partner.google.com> Change-Id: I8fa467edc6f59093c6feca9ac907e768f5fc4566 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3697762 Commit-Queue: Zhuohao Lee <zhuohao@chromium.org> Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
-rw-r--r--board/crota/pwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/crota/pwm.c b/board/crota/pwm.c
index 15cf80eea9..51bee909ff 100644
--- a/board/crota/pwm.c
+++ b/board/crota/pwm.c
@@ -34,8 +34,8 @@ const struct pwm_t pwm_channels[] = {
},
[PWM_CH_FAN] = {
.channel = 5,
- .flags = PWM_CONFIG_OPEN_DRAIN | PWM_CONFIG_DSLEEP,
- .freq = 1000
+ .flags = PWM_CONFIG_OPEN_DRAIN,
+ .freq = 25000
},
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);