linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add video clock controller DT support for sc8180x
@ 2025-07-10 13:00 Satya Priya Kakitapalli
  2025-07-10 13:00 ` [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible Satya Priya Kakitapalli
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Satya Priya Kakitapalli @ 2025-07-10 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michael Turquette, Stephen Boyd
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk,
	Satya Priya Kakitapalli, Konrad Dybcio

Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
Changes in v4:
- [1/2] Add 'contains' in order to match the compatible properly for
  sc8180x.
- Link to v3: https://lore.kernel.org/r/20250702-sc8180x-videocc-dt-v3-0-916d443d8a38@quicinc.com

Changes in v3:
- Fix the yaml binding indentation warnings.
- Link to v2: https://lore.kernel.org/r/20250701-sc8180x-videocc-dt-v2-0-b05db66cc1f6@quicinc.com

Changes in v2:
- Introduce new compatible for sc8180x videocc and use sm8150 as
  fallback. 
- Add new patch to update the bindings accordingly.
- Link to v1: https://lore.kernel.org/r/20250623-sc8180x-videocc-dt-v1-1-9d210c140600@quicinc.com

---
Satya Priya Kakitapalli (2):
      dt-bindings: clock: qcom,videocc: Add sc8180x compatible
      arm64: dts: qcom: sc8180x: Add video clock controller node

 .../devicetree/bindings/clock/qcom,videocc.yaml    | 23 +++++++++++++---------
 arch/arm64/boot/dts/qcom/sc8180x.dtsi              | 15 ++++++++++++++
 2 files changed, 29 insertions(+), 9 deletions(-)
---
base-commit: 5d4809e25903ab8e74034c1f23c787fd26d52934
change-id: 20250623-sc8180x-videocc-dt-4ec3c0761f8d

Best regards,
-- 
Satya Priya Kakitapalli <quic_skakitap@quicinc.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible
  2025-07-10 13:00 [PATCH v4 0/2] Add video clock controller DT support for sc8180x Satya Priya Kakitapalli
@ 2025-07-10 13:00 ` Satya Priya Kakitapalli
  2025-07-10 13:27   ` Krzysztof Kozlowski
  2025-07-10 13:00 ` [PATCH v4 2/2] arm64: dts: qcom: sc8180x: Add video clock controller node Satya Priya Kakitapalli
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 8+ messages in thread
From: Satya Priya Kakitapalli @ 2025-07-10 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michael Turquette, Stephen Boyd
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk,
	Satya Priya Kakitapalli

The sc8180x video clock controller block is identical to that
of sm8150. Add a new compatible string for sc8180x videocc and
use sm8150 as fallback.

Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
 .../devicetree/bindings/clock/qcom,videocc.yaml    | 23 +++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml
index 5f7738d6835c4ba999402e163fc85a07e3a47a5a..f4ff9acef9d5fd819bc72252de188b82f31daf88 100644
--- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml
@@ -23,13 +23,17 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - qcom,sc7180-videocc
-      - qcom,sc7280-videocc
-      - qcom,sdm845-videocc
-      - qcom,sm6350-videocc
-      - qcom,sm8150-videocc
-      - qcom,sm8250-videocc
+    oneOf:
+      - enum:
+          - qcom,sc7180-videocc
+          - qcom,sc7280-videocc
+          - qcom,sdm845-videocc
+          - qcom,sm6350-videocc
+          - qcom,sm8150-videocc
+          - qcom,sm8250-videocc
+      - items:
+          - const: qcom,sc8180x-videocc
+          - const: qcom,sm8150-videocc
 
   clocks:
     minItems: 1
@@ -110,8 +114,9 @@ allOf:
   - if:
       properties:
         compatible:
-          enum:
-            - qcom,sm8150-videocc
+          contains:
+            enum:
+              - qcom,sm8150-videocc
     then:
       properties:
         clocks:

-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v4 2/2] arm64: dts: qcom: sc8180x: Add video clock controller node
  2025-07-10 13:00 [PATCH v4 0/2] Add video clock controller DT support for sc8180x Satya Priya Kakitapalli
  2025-07-10 13:00 ` [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible Satya Priya Kakitapalli
@ 2025-07-10 13:00 ` Satya Priya Kakitapalli
  2025-07-18 23:01   ` Dmitry Baryshkov
  2025-08-11 23:27 ` (subset) [PATCH v4 0/2] Add video clock controller DT support for sc8180x Bjorn Andersson
  2025-09-01 19:46 ` Bjorn Andersson
  3 siblings, 1 reply; 8+ messages in thread
From: Satya Priya Kakitapalli @ 2025-07-10 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michael Turquette, Stephen Boyd
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk,
	Satya Priya Kakitapalli, Konrad Dybcio

Add device node for video clock controller on Qualcomm
sc8180x platform.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sc8180x.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
index b74ce3175d209b569e634073662307964158b340..e0dfa1eae8202881a02cc8531111792e7c962fa6 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
@@ -10,6 +10,7 @@
 #include <dt-bindings/clock/qcom,gpucc-sm8150.h>
 #include <dt-bindings/clock/qcom,rpmh.h>
 #include <dt-bindings/clock/qcom,sc8180x-camcc.h>
+#include <dt-bindings/clock/qcom,videocc-sm8150.h>
 #include <dt-bindings/interconnect/qcom,icc.h>
 #include <dt-bindings/interconnect/qcom,osm-l3.h>
 #include <dt-bindings/interconnect/qcom,sc8180x.h>
@@ -2943,6 +2944,20 @@ usb_sec_dwc3_ss: endpoint {
 			};
 		};
 
+		videocc: clock-controller@ab00000 {
+			compatible = "qcom,sc8180x-videocc",
+				     "qcom,sm8150-videocc";
+			reg = <0 0x0ab00000 0 0x10000>;
+			clocks = <&gcc GCC_VIDEO_AHB_CLK>,
+				 <&rpmhcc RPMH_CXO_CLK>;
+			clock-names = "iface", "bi_tcxo";
+			power-domains = <&rpmhpd SC8180X_MMCX>;
+			required-opps = <&rpmhpd_opp_low_svs>;
+			#clock-cells = <1>;
+			#reset-cells = <1>;
+			#power-domain-cells = <1>;
+		};
+
 		camcc: clock-controller@ad00000 {
 			compatible = "qcom,sc8180x-camcc";
 			reg = <0 0x0ad00000 0 0x20000>;

-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible
  2025-07-10 13:00 ` [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible Satya Priya Kakitapalli
@ 2025-07-10 13:27   ` Krzysztof Kozlowski
  2025-07-10 13:34     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 8+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-10 13:27 UTC (permalink / raw)
  To: Satya Priya Kakitapalli, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Michael Turquette,
	Stephen Boyd
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk

On 10/07/2025 15:00, Satya Priya Kakitapalli wrote:
> The sc8180x video clock controller block is identical to that
> of sm8150. Add a new compatible string for sc8180x videocc and
> use sm8150 as fallback.
> 
> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
> ---
>  .../devicetree/bindings/clock/qcom,videocc.yaml    | 23 +++++++++++++---------
>  1 file changed, 14 insertions(+), 9 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


<form letter>
This is a friendly reminder during the review process.

It looks like you received a tag and forgot to add it.

If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions
of patchset, under or above your Signed-off-by tag, unless patch changed
significantly (e.g. new properties added to the DT bindings). Tag is
"received", when provided in a message replied to you on the mailing
list. Tools like b4 can help here. However, there's no need to repost
patches *only* to add the tags. The upstream maintainer will do that for
tags received on the version they apply.

Please read:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577

If a tag was not added on purpose, please state why and what changed.
</form letter>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible
  2025-07-10 13:27   ` Krzysztof Kozlowski
@ 2025-07-10 13:34     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-10 13:34 UTC (permalink / raw)
  To: Satya Priya Kakitapalli, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Michael Turquette,
	Stephen Boyd
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk

On 10/07/2025 15:27, Krzysztof Kozlowski wrote:
> On 10/07/2025 15:00, Satya Priya Kakitapalli wrote:
>> The sc8180x video clock controller block is identical to that
>> of sm8150. Add a new compatible string for sc8180x videocc and
>> use sm8150 as fallback.
>>
>> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
>> ---
>>  .../devicetree/bindings/clock/qcom,videocc.yaml    | 23 +++++++++++++---------
>>  1 file changed, 14 insertions(+), 9 deletions(-)
> 
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> 
> <form letter>
> This is a friendly reminder during the review process.
> 
> It looks like you received a tag and forgot to add it.

Apologies, wrong keyword. It is supposed to be this one:


---

<form letter>
This is an automated instruction, just in case, because many review tags
are being ignored. If you know the process, you can skip it (please do
not feel offended by me posting it here - no bad intentions intended).
If you do not know the process, here is a short explanation:

Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions
of patchset, under or above your Signed-off-by tag, unless patch changed
significantly (e.g. new properties added to the DT bindings). Tag is
"received", when provided in a message replied to you on the mailing
list. Tools like b4 can help here. However, there's no need to repost
patches *only* to add the tags. The upstream maintainer will do that for
tags received on the version they apply.

Full context and explanation:
https://elixir.bootlin.com/linux/v6.12-rc3/source/Documentation/process/submitting-patches.rst#L577
</form letter>


Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v4 2/2] arm64: dts: qcom: sc8180x: Add video clock controller node
  2025-07-10 13:00 ` [PATCH v4 2/2] arm64: dts: qcom: sc8180x: Add video clock controller node Satya Priya Kakitapalli
@ 2025-07-18 23:01   ` Dmitry Baryshkov
  0 siblings, 0 replies; 8+ messages in thread
From: Dmitry Baryshkov @ 2025-07-18 23:01 UTC (permalink / raw)
  To: Satya Priya Kakitapalli
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Michael Turquette, Stephen Boyd, Ajit Pandey,
	Imran Shaik, Taniya Das, Jagadeesh Kona, linux-arm-msm,
	devicetree, linux-kernel, linux-clk, Konrad Dybcio

On Thu, Jul 10, 2025 at 06:30:40PM +0530, Satya Priya Kakitapalli wrote:
> Add device node for video clock controller on Qualcomm
> sc8180x platform.
> 
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/sc8180x.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: (subset) [PATCH v4 0/2] Add video clock controller DT support for sc8180x
  2025-07-10 13:00 [PATCH v4 0/2] Add video clock controller DT support for sc8180x Satya Priya Kakitapalli
  2025-07-10 13:00 ` [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible Satya Priya Kakitapalli
  2025-07-10 13:00 ` [PATCH v4 2/2] arm64: dts: qcom: sc8180x: Add video clock controller node Satya Priya Kakitapalli
@ 2025-08-11 23:27 ` Bjorn Andersson
  2025-09-01 19:46 ` Bjorn Andersson
  3 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2025-08-11 23:27 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Michael Turquette, Stephen Boyd, Satya Priya Kakitapalli
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk, Konrad Dybcio


On Thu, 10 Jul 2025 18:30:38 +0530, Satya Priya Kakitapalli wrote:
> 


Applied, thanks!

[1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible
      commit: f87dea8b362b29ab8a54d1f35a0430017a716ee1

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: (subset) [PATCH v4 0/2] Add video clock controller DT support for sc8180x
  2025-07-10 13:00 [PATCH v4 0/2] Add video clock controller DT support for sc8180x Satya Priya Kakitapalli
                   ` (2 preceding siblings ...)
  2025-08-11 23:27 ` (subset) [PATCH v4 0/2] Add video clock controller DT support for sc8180x Bjorn Andersson
@ 2025-09-01 19:46 ` Bjorn Andersson
  3 siblings, 0 replies; 8+ messages in thread
From: Bjorn Andersson @ 2025-09-01 19:46 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Michael Turquette, Stephen Boyd, Satya Priya Kakitapalli
  Cc: Ajit Pandey, Imran Shaik, Taniya Das, Jagadeesh Kona,
	linux-arm-msm, devicetree, linux-kernel, linux-clk, Konrad Dybcio


On Thu, 10 Jul 2025 18:30:38 +0530, Satya Priya Kakitapalli wrote:
> 


Applied, thanks!

[2/2] arm64: dts: qcom: sc8180x: Add video clock controller node
      commit: 03253befa1d1f36b297889c7ce2805c9319814ff

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-09-01 19:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-10 13:00 [PATCH v4 0/2] Add video clock controller DT support for sc8180x Satya Priya Kakitapalli
2025-07-10 13:00 ` [PATCH v4 1/2] dt-bindings: clock: qcom,videocc: Add sc8180x compatible Satya Priya Kakitapalli
2025-07-10 13:27   ` Krzysztof Kozlowski
2025-07-10 13:34     ` Krzysztof Kozlowski
2025-07-10 13:00 ` [PATCH v4 2/2] arm64: dts: qcom: sc8180x: Add video clock controller node Satya Priya Kakitapalli
2025-07-18 23:01   ` Dmitry Baryshkov
2025-08-11 23:27 ` (subset) [PATCH v4 0/2] Add video clock controller DT support for sc8180x Bjorn Andersson
2025-09-01 19:46 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).