[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <db8a9c71-8400-46f2-892a-a9a8adcd8dd0@oss.qualcomm.com>
Date: Thu, 4 Dec 2025 12:21:45 +0530
From: Taniya Das <taniya.das@....qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
Bjorn Andersson <andersson@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd
<sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Vladimir Zapolskiy <vladimir.zapolskiy@...aro.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: Ajit Pandey <ajit.pandey@....qualcomm.com>,
Imran Shaik <imran.shaik@....qualcomm.com>,
Jagadeesh Kona <jagadeesh.kona@....qualcomm.com>,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 10/11] clk: qcom: Add support for VideoCC driver for
Kaanapali
On 12/1/2025 6:45 PM, Konrad Dybcio wrote:
> On 11/25/25 6:45 PM, Taniya Das wrote:
>> Enable Kaanapali video clock driver for video SW to be able to control
>> the clocks from the Video SW driver.
>>
>> Signed-off-by: Taniya Das <taniya.das@....qualcomm.com>
>> ---
>
> [...]
>
>> +static struct clk_mem_branch video_cc_mvs0_freerun_clk = {
>> + .mem_enable_reg = 0x80E4,
>> + .mem_ack_reg = 0x80E4,
>
> hex must be lowercase
>
Sure, will fix this.
>> + .mem_enable_mask = BIT(3),
>> + .mem_enable_ack_mask = 0xc00,
>
> GENMASK(11, 10)
>
will fix this as well.
>> + .mem_enable_invert = true,
>> + .branch = {
>> + .halt_reg = 0x80e0,
>> + .halt_check = BRANCH_HALT,
>> + .clkr = {
>> + .enable_reg = 0x80e0,
>> + .enable_mask = BIT(0),
>> + .hw.init = &(const struct clk_init_data) {
>> + .name = "video_cc_mvs0_freerun_clk",
>> + .parent_hws = (const struct clk_hw*[]) {
>> + &video_cc_mvs0_clk_src.clkr.hw,
>> + },
>> + .num_parents = 1,
>> + .flags = CLK_SET_RATE_PARENT,
>> + .ops = &clk_branch2_ops,
>> + },
>
> The indentation is a little malformed
>
will check this and fix.
>
>> +static void clk_kaanapali_regs_configure(struct device *dev, struct regmap *regmap)
>> +{
>> + /*
>> + * Enable clk_on sync for MVS0 and VPP clocks via VIDEO_CC_SPARE1
>> + * during core reset by default.
>> + */
>> + regmap_update_bits(regmap, 0x9f24, BIT(0), BIT(0));
>
> regmap_set_bits()
>
Will replace with the new API.
> lgtm otherwise
>
> Konrad
--
Thanks,
Taniya Das
Powered by blists - more mailing lists