summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Qijun <qijun.tang@ecs.corp-partner.google.com>2021-11-25 10:33:13 +0800
committerCommit Bot <commit-bot@chromium.org>2021-12-05 07:16:49 +0000
commit142fdf278bae1092da44e6c5cba89acfed84aef7 (patch)
tree0260815aada2325aab9d3e597c1da7b2c1d99aff
parent5b7bc8baba35bc816c7dc94768d9fae05c7b78ec (diff)
downloadchrome-ec-142fdf278bae1092da44e6c5cba89acfed84aef7.tar.gz
pazquel: change panel blacklight PWM frequency to 20k
The noise is related to the LCD panel and brightness PWM. Change the PWM frequency of the panel backlight to 20kHz, the display is normal, and no noise can be heard. BUG=b:207585489 BRANCH=trogdor TEST=No noise can be heard when booting into the operating system, and the screen display is normal. Signed-off-by: Tang Qijun <qijun.tang@ecs.corp-partner.google.com> Change-Id: I2ba8f7530743bbd1ee6f462be8f79c621eb3217a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3301560 Commit-Queue: Bob Moragues <moragues@chromium.org> Tested-by: Bob Moragues <moragues@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com> Reviewed-by: Alexandru M Stan <amstan@chromium.org>
-rw-r--r--board/pazquel/board.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/pazquel/board.c b/board/pazquel/board.c
index 366167d7e6..8cab9ee887 100644
--- a/board/pazquel/board.c
+++ b/board/pazquel/board.c
@@ -218,9 +218,8 @@ const struct adc_t adc_channels[] = {
BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
const struct pwm_t pwm_channels[] = {
- [PWM_CH_KBLIGHT] = { .channel = 3, .flags = 0, .freq = 10000 },
- /* TODO(waihong): Assign a proper frequency. */
- [PWM_CH_DISPLIGHT] = { .channel = 5, .flags = 0, .freq = 4800 },
+ [PWM_CH_KBLIGHT] = { .channel = 3, .flags = 0, .freq = 10000 },
+ [PWM_CH_DISPLIGHT] = { .channel = 5, .flags = 0, .freq = 20000 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);