[PATCH v9 05/10] clk: qcom: dispcc-qcs615: Add QCS615 display clock controller driver
Taniya Das
quic_tdas at quicinc.com
Wed Jun 25 03:36:58 PDT 2025
On 6/15/2025 12:39 AM, Konrad Dybcio wrote:
> On 6/12/25 11:55 AM, Taniya Das wrote:
>> 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 <dmitry.baryshkov at linaro.org>
>> Signed-off-by: Taniya Das <quic_tdas at quicinc.com>
>> ---
>
>> +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 <konrad.dybcio at oss.qualcomm.com>
>
> Konrad
More information about the linux-arm-kernel
mailing list