public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: Taniya Das <taniya.das@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: Ajit Pandey <ajit.pandey@oss.qualcomm.com>,
	Imran Shaik <imran.shaik@oss.qualcomm.com>,
	Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-stm32@st-md-mailman.stormreply.com,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 10/11] clk: qcom: Add support for VideoCC driver for Kaanapali
Date: Thu, 4 Dec 2025 12:21:45 +0530	[thread overview]
Message-ID: <db8a9c71-8400-46f2-892a-a9a8adcd8dd0@oss.qualcomm.com> (raw)
In-Reply-To: <850c172d-66e0-4d28-903d-fbcef7ad7444@oss.qualcomm.com>



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@oss.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


  reply	other threads:[~2025-12-04  6:51 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-25 17:45 [PATCH v2 00/11] Add support for Multimedia Clock controllers for Kaanapali Taniya Das
2025-11-25 17:45 ` [PATCH v2 01/11] clk: qcom: clk-alpha-pll: Update the PLL support for cal_l Taniya Das
2025-11-25 17:45 ` [PATCH v2 02/11] clk: qcom: clk-alpha-pll: Add support for controlling Pongo EKO_T PLL Taniya Das
2025-11-25 17:45 ` [PATCH v2 03/11] clk: qcom: clk-alpha-pll: Add support for controlling Rivian PLL Taniya Das
2025-11-25 17:45 ` [PATCH v2 04/11] dt-bindings: clock: qcom: document Kaanapali DISPCC clock controller Taniya Das
2025-11-25 17:45 ` [PATCH v2 05/11] dt-bindings: clock: qcom: Add support for CAMCC for Kaanapali Taniya Das
2025-11-26  9:26   ` Krzysztof Kozlowski
2025-12-16 10:47   ` Vladimir Zapolskiy
2025-11-25 17:45 ` [PATCH v2 06/11] dt-bindings: clock: qcom: Add Kaanapali video clock controller Taniya Das
2025-11-25 17:45 ` [PATCH v2 07/11] dt-bindings: clock: qcom: document the Kaanapali GPU Clock Controller Taniya Das
2025-11-26  9:35   ` Krzysztof Kozlowski
2025-12-04  6:49     ` Taniya Das
2025-12-16  8:51       ` Krzysztof Kozlowski
2025-12-17  9:32         ` Taniya Das
2025-12-17 10:09           ` Krzysztof Kozlowski
2025-12-17 13:21             ` Konrad Dybcio
2025-12-17 13:54               ` Krzysztof Kozlowski
2025-12-19 10:39                 ` Taniya Das
2025-12-19 12:56                   ` Krzysztof Kozlowski
2025-12-19 13:02                 ` Konrad Dybcio
2025-12-19 14:45                   ` Krzysztof Kozlowski
2025-12-23 10:49                     ` Taniya Das
2025-11-25 17:45 ` [PATCH v2 08/11] clk: qcom: dispcc: Add support for display clock controller Kaanapali Taniya Das
2025-11-26  0:09   ` Dmitry Baryshkov
2025-12-01 13:20     ` Konrad Dybcio
2025-12-04  7:14       ` Taniya Das
2025-12-04  9:34         ` Konrad Dybcio
2025-12-19 13:24   ` Konrad Dybcio
2025-11-25 17:45 ` [PATCH v2 09/11] clk: qcom: camcc: Add support for camera clock controller for Kaanapali Taniya Das
2025-11-25 17:45 ` [PATCH v2 10/11] clk: qcom: Add support for VideoCC driver " Taniya Das
2025-12-01 13:15   ` Konrad Dybcio
2025-12-04  6:51     ` Taniya Das [this message]
2025-11-25 17:45 ` [PATCH v2 11/11] clk: qcom: Add support for GPUCC and GXCLK " Taniya Das
2025-12-17 13:22   ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db8a9c71-8400-46f2-892a-a9a8adcd8dd0@oss.qualcomm.com \
    --to=taniya.das@oss.qualcomm.com \
    --cc=ajit.pandey@oss.qualcomm.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imran.shaik@oss.qualcomm.com \
    --cc=jagadeesh.kona@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=vladimir.zapolskiy@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox