summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2022-06-10 22:20:11 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-06-14 03:08:52 +0000
commitcc103df244999a43ae2007e83f2c0dc520cb519a (patch)
tree6d736a2294fea7237f518087c1af2dce3581381e
parentac548abe2680eea680127223597b566bcc612d5e (diff)
downloadchrome-ec-cc103df244999a43ae2007e83f2c0dc520cb519a.tar.gz
brya: increase SYV226 PWM freq
The SYN226 is rated at 10 KHz to 100 KHz on the PWM pin, so bump up the frequency to meet the spec. BRANCH=none BUG=b:235898482 TEST=verified keyboard backlight is still adjustable using keyboard shortcuts Change-Id: I4181fbc3ae8cf041e61581df7d52d172d1ea9504 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3701142 Reviewed-by: Boris Mittelberg <bmbm@google.com> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--board/brya/pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/brya/pwm.c b/board/brya/pwm.c
index 2203f14c8d..cb452c13ed 100644
--- a/board/brya/pwm.c
+++ b/board/brya/pwm.c
@@ -35,7 +35,7 @@ const struct pwm_t pwm_channels[] = {
* lower PWM frequencies, but higher frequencies record a much
* lower maximum power.
*/
- .freq = 2400,
+ .freq = 12000,
},
[PWM_CH_FAN] = {
.channel = 5,