diff options
author | Devin Lu <devin.lu@quantatw.com> | 2019-09-09 12:48:27 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-12 06:09:10 +0000 |
commit | f46a9ad3aa23db4b4044c1f47015e3684730d9a7 (patch) | |
tree | c67bff27833645f233542f58e568b704c178be09 /board | |
parent | 788c0735b35ed5da0587d0fc909618a6b0d42d01 (diff) | |
download | chrome-ec-f46a9ad3aa23db4b4044c1f47015e3684730d9a7.tar.gz |
dratini: Change keyboard backlight pwm to 100 Hz
dratini does not have LED backlight drive ic, change pwm frequency to 100 Hz
to be compatible with dratini hardware.
BUG=none
BRANCH=none
TEST=make sure kblight 0~50 can work intended.
Change-Id: Idbf99d3ddfb6da48c7f8792d78bab0090d973f16
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1789956
Reviewed-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/dratini/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/dratini/board.c b/board/dratini/board.c index 272a5048e4..0bb5a1a785 100644 --- a/board/dratini/board.c +++ b/board/dratini/board.c @@ -117,7 +117,7 @@ const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices); /******************************************************************************/ /* PWM channels. Must be in the exactly same order as in enum pwm_channel. */ const struct pwm_t pwm_channels[] = { - [PWM_CH_KBLIGHT] = { .channel = 3, .flags = 0, .freq = 10000 }, + [PWM_CH_KBLIGHT] = { .channel = 3, .flags = 0, .freq = 100 }, [PWM_CH_FAN] = {.channel = 5, .flags = PWM_CONFIG_OPEN_DRAIN, .freq = 25000}, }; |