drm/bridge: it6505: Modified power sequence
authorallen chen <allen.chen@ite.com.tw>
Fri, 15 Jul 2022 02:49:05 +0000 (10:49 +0800)
committerRobert Foss <robert.foss@linaro.org>
Mon, 18 Jul 2022 11:43:17 +0000 (13:43 +0200)
Change power sequence to meet it6505 data sheet requirement when boot on.

Signed-off-by: Pin-Yen Lin <treapking@chromium.org>
Signed-off-by: Allen Chen <allen.chen@ite.com.tw>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220715024910.12578-2-allen.chen@ite.com.tw
drivers/gpu/drm/bridge/ite-it6505.c

index e562603..8f5bb09 100644 (file)
@@ -3047,7 +3047,7 @@ static int it6505_init_pdata(struct it6505 *it6505)
                return PTR_ERR(pdata->ovdd);
        }
 
-       pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
+       pdata->gpiod_reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW);
        if (IS_ERR(pdata->gpiod_reset)) {
                dev_err(dev, "gpiod_reset gpio not found");
                return PTR_ERR(pdata->gpiod_reset);