disp: msm: dp: add pll params table for 4nm PHY pll settings
Because of changes to ref clock frequency, few of the pll reg values are different for kalama compared to palima. This change differentiates between these two 4nm versions, based on pll revision and also introduces a pll reg table to differentiate the values. Change-Id: I016330ded10ab334012daa8cc288a8cd5c039f58 Signed-off-by: Sandeep Gangadharaiah <quic_sandgang@quicinc.com>
这个提交包含在:

提交者
Gerrit - the friendly Code Review server

父节点
a0516637d3
当前提交
b5383dbae3
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/err.h>
|
||||
@@ -55,6 +56,7 @@ static int dp_pll_clock_register(struct dp_pll *pll)
|
||||
rc = dp_pll_clock_register_5nm(pll);
|
||||
break;
|
||||
case DP_PLL_4NM_V1:
|
||||
case DP_PLL_4NM_V1_1:
|
||||
rc = dp_pll_clock_register_4nm(pll);
|
||||
break;
|
||||
default:
|
||||
@@ -73,6 +75,7 @@ static void dp_pll_clock_unregister(struct dp_pll *pll)
|
||||
dp_pll_clock_unregister_5nm(pll);
|
||||
break;
|
||||
case DP_PLL_4NM_V1:
|
||||
case DP_PLL_4NM_V1_1:
|
||||
dp_pll_clock_unregister_4nm(pll);
|
||||
break;
|
||||
default:
|
||||
@@ -139,6 +142,8 @@ struct dp_pll *dp_pll_get(struct dp_pll_in *in)
|
||||
pll->revision = DP_PLL_5NM_V2;
|
||||
} else if (!strcmp(label, "4nm-v1")) {
|
||||
pll->revision = DP_PLL_4NM_V1;
|
||||
} else if (!strcmp(label, "4nm-v1.1")) {
|
||||
pll->revision = DP_PLL_4NM_V1_1;
|
||||
} else {
|
||||
DP_ERR("Unsupported pll revision\n");
|
||||
rc = -ENOTSUPP;
|
||||
|
在新工单中引用
屏蔽一个用户