public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	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>,
	Konrad Dybcio <konradybcio@kernel.org>
Cc: Ajit Pandey <quic_ajipan@quicinc.com>,
	Imran Shaik <quic_imrashai@quicinc.com>,
	Taniya Das <quic_tdas@quicinc.com>,
	"Jagadeesh Kona" <quic_jkona@quicinc.com>,
	<linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/3] dt-bindings: clock: Add Qualcomm SC8180X Camera clock controller
Date: Wed, 30 Apr 2025 14:13:47 +0530	[thread overview]
Message-ID: <bda4e8ad-0d72-4a07-90ef-9fa4245fd205@quicinc.com> (raw)
In-Reply-To: <b96f8432-132b-4c16-951e-718e91ec52a5@quicinc.com>


On 4/24/2025 4:08 PM, Satya Priya Kakitapalli wrote:
>
> On 4/22/2025 5:11 PM, Bryan O'Donoghue wrote:
>> On 22/04/2025 06:42, Satya Priya Kakitapalli wrote:
>>> Add device tree bindings for the camera clock controller on
>>> Qualcomm SC8180X platform.
>>>
>>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
>>> ---
>>>   .../bindings/clock/qcom,sc8180x-camcc.yaml         |  65 ++++++++
>>>   include/dt-bindings/clock/qcom,sc8180x-camcc.h     | 181 
>>> +++++++++++++++++++++
>>>   2 files changed, 246 insertions(+)
>>>
>>> diff --git 
>>> a/Documentation/devicetree/bindings/clock/qcom,sc8180x-camcc.yaml 
>>> b/Documentation/devicetree/bindings/clock/qcom,sc8180x-camcc.yaml
>>> new file mode 100644
>>> index 
>>> 0000000000000000000000000000000000000000..b17f40ee53a3002b2942869d60773dbecd764134
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/clock/qcom,sc8180x-camcc.yaml
>>> @@ -0,0 +1,65 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/clock/qcom,sc8180x-camcc.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: Qualcomm Camera Clock & Reset Controller on SC8180X
>>> +
>>> +maintainers:
>>> +  - Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
>>> +
>>> +description: |
>>
>> You can drop the "|"
>>
>
> okay.
>
>

I tried removing this, but it is throwing below error, in the line "See 
also: include/dt-bindings/clock/qcom,sc8180x-camcc.h" because of usage 
of a colon there.

Error: 
Documentation/devicetree/bindings/clock/qcom,sc8180x-camcc.yaml:16:12: 
mapping values are not allowed in this context

As we are following the same format in all other Qualcomm bindings, I'll 
keep the "|" and "See also:" section as is.


>>> +  Qualcomm camera clock control module provides the clocks, resets and
>>> +  power domains on SC8180X.
>>> +
>>> +  See also: include/dt-bindings/clock/qcom,sc8180x-camcc.h
>>> +
>>> +properties:
>>> +  compatible:
>>> +    const: qcom,sc8180x-camcc
>>> +
>>> +  clocks:
>>> +    items:
>>> +      - description: Board XO source
>>> +      - description: Sleep clock source
>>
>> Missing clock-names
>>
>
> Since we are using DT based indexing method, clock names are not 
> required.
>
>
>> A suspicious lack of clock depends here. No AHB clock ?> +
>>> +  power-domains:
>>> +    maxItems: 1
>>> +    description:
>>> +      A phandle and PM domain specifier for the MMCX power domain.
>>> +
>>> +  required-opps:
>>> +    maxItems: 1
>>> +    description:
>>> +      A phandle to an OPP node describing required MMCX performance 
>>> point.
>>> +
>>> +allOf:
>>> +  - $ref: qcom,gcc.yaml#
>>
>> A suspicious lack of clock depends here. No AHB clock ? No dependency 
>> on gcc ?
>>
>> You call out the gcc above.
>>
>> Could you please recheck your list of clock dependencies.
>
> The dependent GCC clocks are marked always on from gcc probe, hence 
> did not mention the dependency here.
>
>
>>
>> ---
>> bod
>

  parent reply	other threads:[~2025-04-30  8:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-22  5:42 [PATCH 0/3] clk: qcom: Add camera clock controller support for sc8180x Satya Priya Kakitapalli
2025-04-22  5:42 ` [PATCH 1/3] dt-bindings: clock: Add Qualcomm SC8180X Camera clock controller Satya Priya Kakitapalli
2025-04-22 11:41   ` Bryan O'Donoghue
2025-04-24 10:38     ` Satya Priya Kakitapalli
2025-04-25  9:35       ` Konrad Dybcio
2025-04-25 10:06         ` Bryan O'Donoghue
2025-04-25 10:23           ` Bryan O'Donoghue
2025-04-30  4:53         ` Satya Priya Kakitapalli
2025-04-30  8:43       ` Satya Priya Kakitapalli [this message]
2025-04-26 14:03   ` Vladimir Zapolskiy
2025-04-29 19:03     ` Konrad Dybcio
2025-04-30  5:01     ` Satya Priya Kakitapalli
2025-04-22  5:42 ` [PATCH 2/3] clk: qcom: camcc-sc8180x: Add SC8180X camera clock controller driver Satya Priya Kakitapalli
2025-04-23 13:54   ` Dmitry Baryshkov
2025-04-26 13:24   ` Vladimir Zapolskiy
2025-04-30  5:02     ` Satya Priya Kakitapalli
2025-05-07 11:52   ` kernel test robot
2025-04-22  5:42 ` [PATCH 3/3] arm64: dts: qcom: Add camera clock controller for sc8180x Satya Priya Kakitapalli
2025-04-23 13:32   ` 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=bda4e8ad-0d72-4a07-90ef-9fa4245fd205@quicinc.com \
    --to=quic_skakitap@quicinc.com \
    --cc=andersson@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=quic_ajipan@quicinc.com \
    --cc=quic_imrashai@quicinc.com \
    --cc=quic_jkona@quicinc.com \
    --cc=quic_tdas@quicinc.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.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