summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kukui/panel_anx7625.c5
-rw-r--r--src/mainboard/google/kukui/panel_ps8640.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/panel_anx7625.c b/src/mainboard/google/kukui/panel_anx7625.c
index c75f260e17..b900881bdb 100644
--- a/src/mainboard/google/kukui/panel_anx7625.c
+++ b/src/mainboard/google/kukui/panel_anx7625.c
@@ -14,6 +14,11 @@
static void power_on_anx7625(void)
{
+ /* Disable backlight before turning on bridge */
+ gpio_output(GPIO(PERIPHERAL_EN13), 0);
+ gpio_output(GPIO(DISP_PWM), 0);
+
+ /* Turn on bridge */
gpio_output(GPIO_MIPIBRDG_RST_L_1V8, 0);
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);
diff --git a/src/mainboard/google/kukui/panel_ps8640.c b/src/mainboard/google/kukui/panel_ps8640.c
index 43ea68e0cf..1f7506e060 100644
--- a/src/mainboard/google/kukui/panel_ps8640.c
+++ b/src/mainboard/google/kukui/panel_ps8640.c
@@ -13,6 +13,11 @@
static void power_on_ps8640(void)
{
+ /* Disable backlight before turning on bridge */
+ gpio_output(GPIO(PERIPHERAL_EN13), 0);
+ gpio_output(GPIO(DISP_PWM), 0);
+
+ /* Turn on bridge */
gpio_output(GPIO_MIPIBRDG_RST_L_1V8, 0);
gpio_output(GPIO_PP1200_MIPIBRDG_EN, 1);
gpio_output(GPIO_VDDIO_MIPIBRDG_EN, 1);