disp: msm: dsi: handle gpios for sim panels

For simulation panels, GPIOS are not needed for panel bootup.
This change handles GPIO parsing, toggle sequences in
simulation panels.

Change-Id: I0a3f03d1958ffe9079a7d9fef3f412e2445b0b9b
Signed-off-by: Santosh Kumar Aenugu <santoshkumar@codeaurora.org>
This commit is contained in:
Santosh Kumar Aenugu
2021-01-26 15:37:59 -08:00
کامیت شده توسط Gerrit - the friendly Code Review server
والد 8a3abf2cdf
کامیت 323f1b54d3
2فایلهای تغییر یافته به همراه21 افزوده شده و 3 حذف شده

مشاهده پرونده

@@ -2253,9 +2253,8 @@ static int dsi_panel_parse_gpios(struct dsi_panel *panel)
reset_gpio_name, 0);
if (!gpio_is_valid(panel->reset_config.reset_gpio) &&
!panel->host_config.ext_bridge_mode) {
rc = panel->reset_config.reset_gpio;
DSI_ERR("[%s] failed get reset gpio, rc=%d\n", panel->name, rc);
goto error;
DSI_DEBUG("[%s] reset gpio not set, rc=%d\n", panel->name,
panel->reset_config.reset_gpio);
}
panel->reset_config.disp_en_gpio = utils->get_named_gpio(utils->data,