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:
Brian Norris
2016-08-26 16:04:49 -07:00
committed by chrome-bot
parent 9bbce57c0f
commit 9f4e724426

View File

@@ -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 },