diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2018-09-18 08:16:10 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-09-19 12:18:17 -0700 |
commit | 5a09049c5cc9a30ddfbe69e11b833146d8f5f04f (patch) | |
tree | 32f37c1f715aab9ba8acb12c483bb3c649a6bfc1 /baseboard/grunt/baseboard.c | |
parent | 4984591b02c5e3e4d3c2d7bda2d7129dff20fafc (diff) | |
download | chrome-ec-5a09049c5cc9a30ddfbe69e11b833146d8f5f04f.tar.gz |
driver/led/lm3630a: Configure 261ms startup ramp time
It appears that, on startup, LM3630A starts by assuming some high
input PWM value, so when the brightness is set to 0xff, it first
drives the output, and slowly dims it as the PWM input LPF takes
effect (takes about 50ms).
We workaround this issue by adding a 261ms start-up ramp, to
prevent LM3630A from driving backlight right after the brightness
value is set. AFAICT, this has no effect on the user, even when
transitioning from off to on backlight, as the ramp only applies
when the brightness is first set.
BRANCH=nocturne
BUG=b:111010124
TEST=Connect whiskers, no backlight blip
Change-Id: Ia4dafe9a54aa40a4eae865581a06670e94eb6364
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1230973
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'baseboard/grunt/baseboard.c')
0 files changed, 0 insertions, 0 deletions