disp: msm: dsi: add DSI PLL support for 10nm-LPU
This change adds DSI pll support for 10nm architecture. Change-Id: I3819dd828dbcc168b115bd718c5d656ea9fd12c8 Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
6fd5a637c2
当前提交
7cf728f3a6
@@ -23,6 +23,9 @@ static int dsi_pll_clock_register(struct platform_device *pdev,
|
||||
case DSI_PLL_5NM:
|
||||
rc = dsi_pll_clock_register_5nm(pdev, pll_res);
|
||||
break;
|
||||
case DSI_PLL_10NM:
|
||||
rc = dsi_pll_clock_register_10nm(pdev, pll_res);
|
||||
break;
|
||||
default:
|
||||
rc = -EINVAL;
|
||||
break;
|
||||
@@ -141,12 +144,14 @@ int dsi_pll_init(struct platform_device *pdev, struct dsi_pll_resource **pll)
|
||||
DSI_PLL_INFO(pll_res, "DSI pll label = %s\n", label);
|
||||
|
||||
/**
|
||||
* Currently, Only supports 5nm PLL version. Will add
|
||||
* Currently, Only supports 5nm and 10nm PLL version. Will add
|
||||
* support for other versions as needed.
|
||||
*/
|
||||
|
||||
if (!strcmp(label, "dsi_pll_5nm"))
|
||||
pll_res->pll_revision = DSI_PLL_5NM;
|
||||
else if (!strcmp(label, "dsi_pll_10nm"))
|
||||
pll_res->pll_revision = DSI_PLL_10NM;
|
||||
else
|
||||
return -ENOTSUPP;
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户