disp: msm: dsi: Add a new DT property panel test pin
This pin is a output pin from panel. Panel can output signal of internal VSYNC and ERR_FLAG. Change-Id: Ib8e661ca1fdb33bb7060935edb9bc1f1a858c4b3 Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

szülő
984f48452d
commit
a7b5db0465
@@ -2135,6 +2135,13 @@ static int dsi_panel_parse_gpios(struct dsi_panel *panel)
|
||||
goto error;
|
||||
}
|
||||
|
||||
panel->panel_test_gpio = utils->get_named_gpio(utils->data,
|
||||
"qcom,mdss-dsi-panel-test-pin",
|
||||
0);
|
||||
if (!gpio_is_valid(panel->panel_test_gpio))
|
||||
pr_debug("%s:%d panel test gpio not specified\n", __func__,
|
||||
__LINE__);
|
||||
|
||||
error:
|
||||
return rc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user