Re: [PATCH 3/3] clk: qcom: dispcc-sm7150: Fix dispcc_mdss_pclk0_clk_src
From: Konrad Dybcio
Date: Tue Jan 13 2026 - 09:41:15 EST
On 1/7/26 12:50 PM, David Heidelberg wrote:
> On 19/09/2025 14:34, Jens Reidel wrote:
>> Set CLK_OPS_PARENT_ENABLE to ensure the parent gets prepared and enabled
>> when switching to it, fixing an "rcg didn't update its configuration"
>> warning.
>>
>> Signed-off-by: Jens Reidel <adrian@xxxxxxxxxxxxxx>
>> ---
>> drivers/clk/qcom/dispcc-sm7150.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/clk/qcom/dispcc-sm7150.c b/drivers/clk/qcom/dispcc-sm7150.c
>> index 0a7f6ec7a2a737c6f6f0484c71dd80f3dbf758b6..811d380a8e9f9bd8a8f1aecba567ebffdb893f5d 100644
>> --- a/drivers/clk/qcom/dispcc-sm7150.c
>> +++ b/drivers/clk/qcom/dispcc-sm7150.c
>> @@ -357,7 +357,7 @@ static struct clk_rcg2 dispcc_mdss_pclk0_clk_src = {
>> .name = "dispcc_mdss_pclk0_clk_src",
>> .parent_data = dispcc_parent_data_4,
>> .num_parents = ARRAY_SIZE(dispcc_parent_data_4),
>> - .flags = CLK_SET_RATE_PARENT,
>> + .flags = CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE,
>> .ops = &clk_pixel_ops,
>> },
>> };
>>
>
> Hello Jens,
>
> do you know if in the addition to dispcc_mdss_pclk0_clk_src pclk1_clk_src may need this flag too?
Yes
Konrad