Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Jagadeesh Kona <quic_jkona@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@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>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Ajit Pandey <quic_ajipan@quicinc.com>,
	Imran Shaik <quic_imrashai@quicinc.com>,
	Taniya Das <quic_tdas@quicinc.com>,
	"Satya Priya Kakitapalli" <quic_skakitap@quicinc.com>,
	<linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Subject: Re: [PATCH v4 02/18] dt-bindings: clock: qcom: Update sc8280xp camcc bindings
Date: Wed, 28 May 2025 15:21:32 +0530	[thread overview]
Message-ID: <bb9f9498-5b24-4df8-923a-a54bc528799d@quicinc.com> (raw)
In-Reply-To: <the3rt4gwb766u5tmzzugoozkyt3qw7kxvy6mlemxcqb5ibs37@szcq2rzbukma>



On 5/21/2025 6:16 PM, Dmitry Baryshkov wrote:
> On Wed, May 21, 2025 at 03:32:34PM +0530, Jagadeesh Kona wrote:
>>
>>
>> On 5/19/2025 1:48 PM, Krzysztof Kozlowski wrote:
>>> On Thu, May 15, 2025 at 12:38:47AM GMT, Jagadeesh Kona wrote:
>>>> SC8280XP camcc only requires the MMCX power domain, unlike
>>>> SM8450 camcc which will now support both MMCX and MXC power
>>>
>>> I do not see change to sm8450 here. This makes no sense on its own. You
>>> do not move compatibles - what is the point of such change?
>>>
>>
>> I did the SM8450 changes in next patch (3/18). But I agree with you, this needs to
>> be more structured. So I am planning to drop this patch and instead take care of
>> single power domain requirement for SC8280XP within SM8450 camcc bindings using
>> minItems and maxItems properties based on if check for sc8280xp compatible similar
>> to below snippet.
> 
> I think it is a bad idea. I liked the split that you've implemented:
> separate bindings for platforms that require MMCX (and MX), separate
> bindings for platforms which require MMCX and MXC (and MXA).
> 
> It might be better to start by changing SM8450 binding to support MXC
> and then adding SC8280XP to those bindings.
> 

Okay, I will reverse the order of patches 2 and 3 to support MXC for SM8450 camcc
bindings first and then move SC8280XP to have single power domain support. 

Thanks,
Jagadeesh

>>
>>    power-domains:
>> -    maxItems: 1
>> +    minItems: 1
>>      description:
>> -      A phandle and PM domain specifier for the MMCX power domain.
>> +      Power domains required for the clock controller to operate
>> +    items:
>> +      - description: MMCX power domain
>> +      - description: MXC power domain
>>
>> ......
>>
>> +  - if:
>> +      properties:
>> +        compatible:
>> +          contains:
>> +            enum:
>> +              - qcom,sc8280xp-camcc
>> +    then:
>> +      properties:
>> +        power-domains:
>> +          maxItems: 1
>> +        required-opps:
>> +          maxItems: 1
>> +
>>
>>
>>>> domains. Hence move SC8280XP camcc bindings from SM8450 to
>>>> SA8775P camcc.
>>>
>>> Subject: everything could be an update. Be specific.
>>>
>>> A nit, subject: drop second/last, redundant "bindings". The
>>> "dt-bindings" prefix is already stating that these are bindings.
>>> See also:
>>> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
>>>
>>
>> Sure, I will take care of above in next series.
>>
>> Thanks,
>> Jagadeesh
>>
>>>>
>>>> SA8775P camcc doesn't support required-opps property currently
>>>> but SC8280XP camcc need that property,  so add required-opps
>>>> based on SC8280XP camcc conditional check in SA8775P camcc
>>>> bindings.
>>>
>>> Best regards,
>>> Krzysztof
>>>
> 

  reply	other threads:[~2025-05-28  9:51 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-14 19:08 [PATCH v4 00/18] clk: qcom: Add support to attach multiple power domains in cc probe Jagadeesh Kona
2025-05-14 19:08 ` [PATCH v4 01/18] dt-bindings: clock: qcom,sm8450-videocc: Add MXC power domain Jagadeesh Kona
2025-05-14 19:08 ` [PATCH v4 02/18] dt-bindings: clock: qcom: Update sc8280xp camcc bindings Jagadeesh Kona
2025-05-14 21:15   ` Dmitry Baryshkov
2025-05-14 21:28     ` Dmitry Baryshkov
2025-05-19  8:18   ` Krzysztof Kozlowski
2025-05-21 10:02     ` Jagadeesh Kona
2025-05-21 12:46       ` Dmitry Baryshkov
2025-05-28  9:51         ` Jagadeesh Kona [this message]
2025-05-14 19:08 ` [PATCH v4 03/18] dt-bindings: clock: qcom: sm8450-camcc: Allow to specify two power domains Jagadeesh Kona
2025-05-14 19:08 ` [PATCH v4 04/18] clk: qcom: clk-alpha-pll: Add support for common PLL configuration function Jagadeesh Kona
2025-05-14 21:20   ` Dmitry Baryshkov
2025-05-14 19:08 ` [PATCH v4 05/18] clk: qcom: common: Handle runtime power management in qcom_cc_really_probe Jagadeesh Kona
2025-05-15  6:28   ` Bryan O'Donoghue
2025-05-14 19:08 ` [PATCH v4 06/18] clk: qcom: common: Add support to configure clk regs " Jagadeesh Kona
2025-05-14 21:24   ` Dmitry Baryshkov
2025-05-15  6:34   ` Bryan O'Donoghue
2025-05-21  9:43     ` Jagadeesh Kona
2025-05-14 19:08 ` [PATCH v4 07/18] clk: qcom: videocc-sm8450: Move PLL & clk configuration to really probe Jagadeesh Kona
2025-05-15 15:37   ` Konrad Dybcio
2025-05-14 19:08 ` [PATCH v4 08/18] clk: qcom: videocc-sm8550: " Jagadeesh Kona
2025-05-15 15:38   ` Konrad Dybcio
2025-05-21  9:43     ` Jagadeesh Kona
2025-05-14 19:08 ` [PATCH v4 09/18] clk: qcom: camcc-sm8450: " Jagadeesh Kona
2025-05-15 15:40   ` Konrad Dybcio
2025-05-14 19:08 ` [PATCH v4 10/18] clk: qcom: camcc-sm8550: " Jagadeesh Kona
2025-05-15 15:40   ` Konrad Dybcio
2025-05-14 19:08 ` [PATCH v4 11/18] clk: qcom: camcc-sm8650: " Jagadeesh Kona
2025-05-14 21:22   ` Dmitry Baryshkov
2025-05-15 15:41   ` Konrad Dybcio
2025-05-14 19:08 ` [PATCH v4 12/18] clk: qcom: camcc-x1e80100: " Jagadeesh Kona
2025-05-14 21:22   ` Dmitry Baryshkov
2025-05-15 15:42   ` Konrad Dybcio
2025-05-14 19:08 ` [PATCH v4 13/18] arm64: dts: qcom: sm8450: Additionally manage MXC power domain in videocc Jagadeesh Kona
2025-05-15 15:42   ` Konrad Dybcio
2025-05-14 19:08 ` [PATCH v4 14/18] arm64: dts: qcom: sm8550: " Jagadeesh Kona
2025-05-15 15:42   ` Konrad Dybcio
2025-05-14 19:09 ` [PATCH v4 15/18] arm64: dts: qcom: sm8650: " Jagadeesh Kona
2025-05-15 15:42   ` Konrad Dybcio
2025-05-14 19:09 ` [PATCH v4 16/18] arm64: dts: qcom: sm8450: Additionally manage MXC power domain in camcc Jagadeesh Kona
2025-05-14 21:23   ` Dmitry Baryshkov
2025-05-15 15:35   ` Konrad Dybcio
2025-05-14 19:09 ` [PATCH v4 17/18] arm64: dts: qcom: sm8550: " Jagadeesh Kona
2025-05-14 21:23   ` Dmitry Baryshkov
2025-05-15 15:35   ` Konrad Dybcio
2025-05-14 19:09 ` [PATCH v4 18/18] arm64: dts: qcom: sm8650: " Jagadeesh Kona
2025-05-14 21:23   ` Dmitry Baryshkov
2025-05-15 15:34   ` 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=bb9f9498-5b24-4df8-923a-a54bc528799d@quicinc.com \
    --to=quic_jkona@quicinc.com \
    --cc=andersson@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzysztof.kozlowski@linaro.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_skakitap@quicinc.com \
    --cc=quic_tdas@quicinc.com \
    --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