disp: msm: snapshot change for mdp driver to support multiple SIs

This change adds support in mdp and dsi driver to support
multiple SIS.

Change-Id: I432068cea17e1784d7570a472fbadaa86695df07
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
Narendra Muppalla
2021-11-17 18:45:26 -08:00
committed by Bruce Hoo
parent 88c7d83030
commit 7c5d715673
9 changed files with 112 additions and 0 deletions

View File

@@ -897,8 +897,13 @@ end:
return -EINVAL;
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0))
int dsi_parser_get_named_gpio(const struct device_node *np,
const char *propname, int index)
#else
int dsi_parser_get_named_gpio(struct device_node *np,
const char *propname, int index)
#endif
{
int gpio = -EINVAL;