Thread (21 messages) 21 messages, 2 authors, 2025-07-01

Re: [PATCH v9 05/10] clk: qcom: dispcc-qcs615: Add QCS615 display clock controller driver

From: Taniya Das <hidden>
Date: 2025-06-25 10:37:21
Also in: linux-arm-kernel, linux-arm-msm, linux-clk, lkml


On 6/15/2025 12:39 AM, Konrad Dybcio wrote:
On 6/12/25 11:55 AM, Taniya Das wrote:
quoted
Add support for the display clock controller for display clients to
be able to request for the clocks on QCS615 platform.

Reviewed-by: Dmitry Baryshkov <redacted>
Signed-off-by: Taniya Das <redacted>
---
quoted
+static int disp_cc_qcs615_probe(struct platform_device *pdev)
+{
+	struct regmap *regmap;
+
+	regmap = qcom_cc_map(pdev, &disp_cc_qcs615_desc);
+	if (IS_ERR(regmap))
+		return PTR_ERR(regmap);
+
+	clk_alpha_pll_configure(&disp_cc_pll0, regmap, &disp_cc_pll0_config);
+
+	/* Keep some clocks always enabled */
+	qcom_branch_set_clk_en(regmap, 0x6054); /* DISP_CC_XO_CLK */
+
+	return qcom_cc_really_probe(&pdev->dev, &disp_cc_qcs615_desc, regmap);
Similarly:
I will update in the next patch series.
Reviewed-by: Konrad Dybcio <redacted>

Konrad
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help