mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
gru: fix ArcticSand backlight PWM
The backlight controller on Gru requires a minimum of 2.6 KHz. BUG=chrome-os-partner:56629 TEST=gru rev1 backlight BRANCH=none Change-Id: Idbc8789c2f3aa0f1778d433beeb056ae07193cda Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/376940 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Philip Chen <philipchen@chromium.org>
This commit is contained in:
@@ -94,7 +94,12 @@ const struct pwm_t pwm_channels[] = {
|
||||
#ifdef BOARD_KEVIN
|
||||
[PWM_CH_LED_GREEN] = { 0, PWM_CONFIG_DSLEEP, 100 },
|
||||
#endif
|
||||
#ifdef BOARD_KEVIN
|
||||
[PWM_CH_DISPLIGHT] = { 2, 0, 210 },
|
||||
#else
|
||||
/* ArcticSand part on Gru requires >= 2.6KHz */
|
||||
[PWM_CH_DISPLIGHT] = { 2, 0, 2600 },
|
||||
#endif
|
||||
[PWM_CH_LED_RED] = { 3, PWM_CONFIG_DSLEEP, 100 },
|
||||
#ifdef BOARD_KEVIN
|
||||
[PWM_CH_LED_BLUE] = { 4, PWM_CONFIG_DSLEEP, 100 },
|
||||
|
||||
Reference in New Issue
Block a user