summaryrefslogtreecommitdiff
path: root/board/pompom
diff options
context:
space:
mode:
authorjohnwc_yeh <johnwc_yeh@compal.corp-partner.google.com>2021-01-12 09:30:05 +0800
committerCommit Bot <commit-bot@chromium.org>2021-01-12 19:42:18 +0000
commita9eca9e0415df335f5ac1adfd1fb154f53fa8cd6 (patch)
treebf34e026bfc9240f52d6c506defbcd3920e44934 /board/pompom
parent9f7ede2ed69398eaca71ebee6cae8316fded6a26 (diff)
downloadchrome-ec-a9eca9e0415df335f5ac1adfd1fb154f53fa8cd6.tar.gz
pompom: change panel blacklight PWM frequency to 20k
Noise is related with LCD Panel and Brightness PWM. We reduced the frequency to 200hz to eliminate the noise problem. But PWM frequency 200Hz is too low will cause the flicker problem. Can easily see it when move my eyes around the screen. Therefore, changing the panel black light PWM frequency to 20kHz can eliminate the flicker problem and the noise still not be heard BUG=b:175795667 BRANCH=none TEST= Boot into OS can still not hear the noise. Change the PWM frequency from 200hz to 20kHz,there will be no flickering problem on the screen. Signed-off-by: johnwc_yeh <johnwc_yeh@compal.corp-partner.google.com> Change-Id: I0e60f6f200f70a69e2970dfb0b5befb494c2b64e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2623309 Reviewed-by: Alexandru M Stan <amstan@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com> Reviewed-by: Josh Tsai <josh_tsai@compal.corp-partner.google.com> Commit-Queue: Wai-Hong Tam <waihong@google.com> Tested-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/pompom')
-rw-r--r--board/pompom/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pompom/board.c b/board/pompom/board.c
index e8ebf5d4a8..b3def9444e 100644
--- a/board/pompom/board.c
+++ b/board/pompom/board.c
@@ -179,7 +179,7 @@ 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 = 200 },
+ [PWM_CH_DISPLIGHT] = { .channel = 5, .flags = 0, .freq = 20000 },
};
BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT);