summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/oak/mainboard.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index 1713c9bdf7..c330fac4a0 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -144,28 +144,24 @@ static void configure_usb(void)
/* Setup backlight control pins as output pin and power-off by default */
static void configure_backlight(void)
{
+ /* Configure PANEL_LCD_POWER_EN */
switch (board_id()) {
- case 0:
- gpio_output(PAD_DISP_PWM0, 0); /* DISP_PWM0 */
- mt6391_gpio_output(MT6391_KP_ROW3, 0); /* PANEL_POWER_EN_6397 */
- break;
case 1:
case 2:
- gpio_output(PAD_DISP_PWM0, 0); /* DISP_PWM0 */
- gpio_output(PAD_PCM_TX, 0); /* PANEL_POWER_EN */
break;
case 3:
- gpio_output(PAD_UCTS2, 0); /* PANEL_LCD_POWER_EN */
- gpio_output(PAD_DISP_PWM0, 0); /* DISP_PWM0 */
- gpio_output(PAD_PCM_TX, 0); /* PANEL_POWER_EN */
+ gpio_output(PAD_UCTS2, 0);
break;
case 4:
+ gpio_output(PAD_SRCLKENAI, 0);
+ break;
default:
- gpio_output(PAD_SRCLKENAI, 0); /* PANEL_LCD_POWER_EN */
- gpio_output(PAD_DISP_PWM0, 0); /* DISP_PWM0 */
- gpio_output(PAD_PCM_TX, 0); /* PANEL_POWER_EN */
+ gpio_output(PAD_UTXD2, 0);
break;
}
+
+ gpio_output(PAD_DISP_PWM0, 0); /* DISP_PWM0 */
+ gpio_output(PAD_PCM_TX, 0); /* PANEL_POWER_EN */
}
static void mainboard_init(device_t dev)