]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - board/kosagi/novena/video.c
ARM: imx: novena: Enable DM GPIO
[thirdparty/u-boot.git] / board / kosagi / novena / video.c
index f1351b9e287c7019aaf9f51e5a04d82c2c8f46fd..7083b6e103f58e8acdd0ed7a22c75fb50059dcb2 100644 (file)
@@ -270,6 +270,7 @@ static void enable_lvds(struct display_info_t const *dev)
                return;
 
        /* ITE IT6251 power enable. */
+       gpio_request(NOVENA_ITE6251_PWR_GPIO, "ite6251-power");
        gpio_direction_output(NOVENA_ITE6251_PWR_GPIO, 0);
        mdelay(10);
        gpio_direction_output(NOVENA_ITE6251_PWR_GPIO, 1);
@@ -447,6 +448,8 @@ void setup_display_lvds(void)
        /* Init the LVDS-to-eDP chip and if it succeeded, enable backlight. */
        ret = it6251_init();
        if (!ret) {
+               gpio_request(NOVENA_BACKLIGHT_PWR_GPIO, "backlight-power");
+               gpio_request(NOVENA_BACKLIGHT_PWM_GPIO, "backlight-pwm");
                /* Backlight power enable. */
                gpio_direction_output(NOVENA_BACKLIGHT_PWR_GPIO, 1);
                /* PWM backlight pin, always on for full brightness. */