From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
Cc: 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>,
Jagadeesh Kona <quic_jkona@quicinc.com>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Ajit Pandey <ajit.pandey@oss.qualcomm.com>,
Imran Shaik <imran.shaik@oss.qualcomm.com>,
Taniya Das <taniya.das@oss.qualcomm.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/8] dt-bindings: clock: qcom: Add X1P42100 video clock controller
Date: Wed, 28 Jan 2026 11:26:49 +0100 [thread overview]
Message-ID: <bb715bfb-0f6f-47e3-b8bd-6592dad824ac@oss.qualcomm.com> (raw)
In-Reply-To: <fxzm4767ged6hikpblsnh3xzec4qm7dzyfnds7m2ljedhj6n46@zkm7zxz3oo73>
On 1/27/26 9:34 PM, Dmitry Baryshkov wrote:
> On Wed, Jan 28, 2026 at 12:56:32AM +0530, Jagadeesh Kona wrote:
>> X1P42100 video clock controller has most clocks same as SM8650,
>> but it also has few additional clocks and resets. Add device
>> tree bindings for the video clock controller on Qualcomm
>> X1P42100 platform by defining these additional clocks and resets
>> on top of SM8650.
>>
>> Signed-off-by: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
>> ---
>> .../bindings/clock/qcom,sm8450-videocc.yaml | 2 ++
>> include/dt-bindings/clock/qcom,x1p42100-videocc.h | 21 +++++++++++++++++++++
>> 2 files changed, 23 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
>> index e6beebd6a36ee1ce213a816f60df8a76fa5c44d6..e8bf3fcad3fabc4f3b7e8e692c6c634d1aed9605 100644
>> --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
>> +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml
>> @@ -30,6 +30,7 @@ properties:
>> - qcom,sm8650-videocc
>> - qcom,sm8750-videocc
>> - qcom,x1e80100-videocc
>> + - qcom,x1p42100-videocc
>>
>> clocks:
>> items:
>> @@ -67,6 +68,7 @@ allOf:
>> - qcom,sm8450-videocc
>> - qcom,sm8550-videocc
>> - qcom,sm8750-videocc
>> + - qcom,x1p42100-videocc
>> then:
>> required:
>> - required-opps
>> diff --git a/include/dt-bindings/clock/qcom,x1p42100-videocc.h b/include/dt-bindings/clock/qcom,x1p42100-videocc.h
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..eb6c9b7264f8cbced7cfa0001903238ffa168431
>> --- /dev/null
>> +++ b/include/dt-bindings/clock/qcom,x1p42100-videocc.h
>> @@ -0,0 +1,21 @@
>> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
>> +/*
>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>> + */
>> +
>> +#ifndef _DT_BINDINGS_CLK_QCOM_VIDEO_CC_X1P42100_H
>> +#define _DT_BINDINGS_CLK_QCOM_VIDEO_CC_X1P42100_H
>> +
>> +#include "qcom,sm8650-videocc.h"
>> +
>> +/* X1P42100 introduces below new clocks and resets compared to SM8650 */
>
> And then someone introduces new clocks or resets into SM8650 bindings
> and this gets busted. Please extend the existing header.
This is funny..
$ rg sm8450-videocc.h arch/ -l
arch/arm64/boot/dts/qcom/hamoa.dtsi
arch/arm64/boot/dts/qcom/sm8550.dtsi
arch/arm64/boot/dts/qcom/sm8450.dtsi
$ rg sm8450-videocc.h drivers/ -l
drivers/clk/qcom/videocc-sm8450.c
hmm! :)
Checking further, we have videocc-sm8550.c catering:
{ .compatible = "qcom,sm8550-videocc" },
{ .compatible = "qcom,sm8650-videocc" },
{ .compatible = "qcom,x1e80100-videocc" },
and including qcom,sm8*6*50-videocc.h
BUT it doesn't end there
qcom,sm8650-videocc.h starts with #include "qcom,sm8450-videocc.h"
So it's quite a matryoshka..
Konrad
next prev parent reply other threads:[~2026-01-28 10:26 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-27 19:26 [PATCH 0/8] Add support for videocc and camcc on X1P42100 platform Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 1/8] dt-bindings: clock: qcom: Add X1P42100 video clock controller Jagadeesh Kona
2026-01-27 20:34 ` Dmitry Baryshkov
2026-01-28 10:26 ` Konrad Dybcio [this message]
2026-02-04 17:44 ` Jagadeesh Kona
2026-01-28 10:08 ` Konrad Dybcio
2026-02-04 17:48 ` Jagadeesh Kona
2026-01-28 11:43 ` Krzysztof Kozlowski
2026-02-04 17:46 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 2/8] dt-bindings: clock: qcom: Add X1P42100 camera " Jagadeesh Kona
2026-01-28 11:45 ` Krzysztof Kozlowski
2026-01-27 19:26 ` [PATCH 3/8] clk: qcom: videocc-x1p42100: Add support for video " Jagadeesh Kona
2026-01-28 7:21 ` Taniya Das
2026-01-28 8:18 ` Abel Vesa
2026-01-29 0:37 ` Dmitry Baryshkov
2026-02-04 17:46 ` Jagadeesh Kona
2026-02-04 19:42 ` Dmitry Baryshkov
2026-01-27 19:26 ` [PATCH 4/8] clk: qcom: camcc-x1e80100: Add support for camera QDSS debug clocks Jagadeesh Kona
2026-01-27 22:26 ` Bryan O'Donoghue
2026-01-28 10:14 ` Konrad Dybcio
2026-01-29 0:38 ` Dmitry Baryshkov
2026-02-04 17:47 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 5/8] clk: qcom: camcc-x1p42100: Add support for camera clock controller Jagadeesh Kona
2026-01-28 4:45 ` Taniya Das
2026-01-28 10:17 ` Konrad Dybcio
2026-01-29 0:39 ` Dmitry Baryshkov
2026-02-04 17:47 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 6/8] arm64: dts: qcom: x1e80100: Add CAMCC block definition Jagadeesh Kona
2026-01-28 8:19 ` Abel Vesa
2026-01-27 19:26 ` [PATCH 7/8] arm64: dts: qcom: Update compatible for videocc and camcc nodes on purwa Jagadeesh Kona
2026-01-28 8:24 ` Abel Vesa
2026-01-28 10:19 ` Konrad Dybcio
2026-02-04 17:48 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 8/8] arm64: defconfig: Enable VIDEOCC and CAMCC drivers on Qualcomm X1P42100 Jagadeesh Kona
2026-02-08 11:26 ` Krzysztof Kozlowski
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=bb715bfb-0f6f-47e3-b8bd-6592dad824ac@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=ajit.pandey@oss.qualcomm.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=imran.shaik@oss.qualcomm.com \
--cc=jagadeesh.kona@oss.qualcomm.com \
--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_jkona@quicinc.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=taniya.das@oss.qualcomm.com \
/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