The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Ulf Hansson <ulfh@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Brian Masney <bmasney@redhat.com>,
	Taniya Das <quic_tdas@quicinc.com>,
	Georgi Djakov <djakov@kernel.org>,
	Bartosz Golaszewski <brgl@kernel.org>,
	Linus Walleij <linusw@kernel.org>,
	Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
	Robert Marko <robimarko@gmail.com>,
	Guru Das Srinagesh <linux@gurudas.dev>,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
	linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org
Subject: Re: [PATCH 10/15] dt-bindings: clock: qcom: Add Kuno Global Clock Controller
Date: Fri, 21 Aug 2026 22:05:34 +0530	[thread overview]
Message-ID: <55d15218-d812-4b4f-a3a8-ebe02ee26f2b@oss.qualcomm.com> (raw)
In-Reply-To: <20260813-glorious-secret-mantis-dcc083@quoll>


On 8/13/2026 3:10 PM, Krzysztof Kozlowski wrote:
> On Sun, Aug 09, 2026 at 12:57:09PM +0530, Hardeep Sharma wrote:
>> Add the device tree binding and clock/reset IDs for the global clock
>> controller (GCC) on the Qualcomm Kuno SoC so its device trees can
>> describe the GCC block and reference the clocks and resets it provides.
> Almost each of your bindings commit has different style. I would assume
> this you would write once and copy-paste.

Thanks for review.

Corrected in v3 : 
https://lore.kernel.org/all/20260821-kuno-soc-support-v3-0-196e2b306368@oss.qualcomm.com/

Best Wishes

Hardeep Sharma

>> Signed-off-by: Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
>> ---
>>   .../devicetree/bindings/clock/qcom,kuno-gcc.yaml   | 56 +++++++++++++
>>   include/dt-bindings/clock/qcom,kuno-gcc.h          | 95 ++++++++++++++++++++++
>>   2 files changed, 151 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/clock/qcom,kuno-gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,kuno-gcc.yaml
>> new file mode 100644
>> index 000000000000..ff01ff31c2e2
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/clock/qcom,kuno-gcc.yaml
>> @@ -0,0 +1,56 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/clock/qcom,kuno-gcc.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Qualcomm Global Clock & Reset Controller on Kuno
>> +
>> +maintainers:
>> +  - Hardeep Sharma <hardeep.sharma@oss.qualcomm.com>
>> +
>> +description: |
>> +  Qualcomm global clock control module provides the clocks and resets on Kuno.
>> +
>> +  See also: include/dt-bindings/clock/qcom,kuno-gcc.h
>> +
>> +properties:
>> +  compatible:
>> +    const: qcom,kuno-gcc
>> +
>> +  clocks:
>> +    items:
>> +      - description: Board XO source
>> +      - description: Board active-only XO source
>> +      - description: Sleep clock source
>> +      - description: PCIe pipe clock source
>> +
>> +  power-domains:
>> +    items:
>> +      - description: CX domain
>> +
>> +required:
>> +  - compatible
>> +  - clocks
> Not a power domain provider? Then it should not be allowed or explain
> oddities in the commit msg.

Thanks for review.

Apologies.
The GCC does host GDSCs, so it genuinely is a power-domain provider.
Rather than disallowing #power-domain-cells, in v3 I've made it
"required" in qcom,kuno-gcc.yaml and declared #power-domain-cells = <1>
on the SoC gcc node, following qcom,sdx75-gcc.

v3: 
https://lore.kernel.org/all/20260821-kuno-soc-support-v3-0-196e2b306368@oss.qualcomm.com/

Best Wishes

Hardeep Sharma

>
>> +
>> +allOf:
>> +  - $ref: qcom,gcc.yaml#
>> +
>> +unevaluatedProperties: false
> Best regards,
> Krzysztof
>

  parent reply	other threads:[~2026-08-21 16:35 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-09  7:26 [PATCH 00/15] Add initial support for Qualcomm Kuno SoC Hardeep Sharma
2026-08-09  7:27 ` [PATCH 01/15] soc: qcom: geni-se: allow selection on 32-bit ARM Qualcomm SoCs Hardeep Sharma
2026-08-11  0:48   ` Dmitry Baryshkov
2026-08-11  1:15     ` Dmitry Baryshkov
2026-08-11  3:07       ` Hardeep Sharma
2026-08-11 14:05         ` Dmitry Baryshkov
     [not found]       ` <7cc49120-8f0b-4e07-a008-145504e00dd0@oss.qualcomm.com>
2026-08-11 10:30         ` Hardeep Sharma
2026-08-11 10:34         ` Hardeep Sharma
2026-08-11  7:20   ` Mukesh Savaliya
2026-08-09  7:27 ` [PATCH 02/15] dt-bindings: power: rpmpd: Document Kuno RPMh power domains Hardeep Sharma
2026-08-13  9:35   ` Krzysztof Kozlowski
2026-08-14  7:40     ` Hardeep Sharma
2026-08-09  7:27 ` [PATCH 03/15] pmdomain: qcom: rpmhpd: Add power domains for Kuno Hardeep Sharma
2026-08-09  7:27 ` [PATCH 04/15] dt-bindings: clock: qcom,rpmhcc: Add Kuno RPMh clock controller Hardeep Sharma
2026-08-09  7:27 ` [PATCH 05/15] clk: qcom: clk-rpmh: Add support for Kuno RPMh clocks Hardeep Sharma
2026-08-11  0:58   ` Dmitry Baryshkov
2026-08-09  7:27 ` [PATCH 06/15] dt-bindings: interconnect: Add Qualcomm Kuno NoC Hardeep Sharma
2026-08-11  0:59   ` Dmitry Baryshkov
2026-08-14  8:39     ` Hardeep Sharma
2026-08-09  7:27 ` [PATCH 07/15] interconnect: qcom: Add Kuno interconnect provider driver Hardeep Sharma
2026-08-10  9:37   ` Uwe Kleine-König
2026-08-14  7:41     ` Hardeep Sharma
2026-08-11  1:00   ` Dmitry Baryshkov
2026-08-11  3:47     ` Hardeep Sharma
2026-08-11 14:07       ` Dmitry Baryshkov
2026-08-09  7:27 ` [PATCH 08/15] dt-bindings: pinctrl: qcom: Add Kuno TLMM Hardeep Sharma
2026-08-13  9:37   ` Krzysztof Kozlowski
2026-08-09  7:27 ` [PATCH 09/15] pinctrl: qcom: Add Kuno pinctrl driver Hardeep Sharma
2026-08-10 11:03   ` Bartosz Golaszewski
2026-08-14  7:48     ` Hardeep Sharma
2026-08-09  7:27 ` [PATCH 10/15] dt-bindings: clock: qcom: Add Kuno Global Clock Controller Hardeep Sharma
2026-08-13  9:40   ` Krzysztof Kozlowski
2026-08-14  7:49     ` Hardeep Sharma
2026-08-21 16:35     ` Hardeep Sharma [this message]
2026-08-09  7:27 ` [PATCH 11/15] clk: qcom: Add Global Clock Controller driver for Kuno Hardeep Sharma
2026-08-11  1:06   ` Dmitry Baryshkov
2026-08-14  7:42     ` Hardeep Sharma
2026-08-09  7:27 ` [PATCH 12/15] dt-bindings: interrupt-controller: qcom,pdc: Add Kuno compatible string Hardeep Sharma
2026-08-13  9:41   ` Krzysztof Kozlowski
2026-08-09  7:27 ` [PATCH 13/15] dt-bindings: firmware: qcom,scm: Document SCM on Kuno SoC Hardeep Sharma
2026-08-10  9:50   ` Bartosz Golaszewski
2026-08-09  7:27 ` [PATCH 14/15] dt-bindings: arm: qcom: Document Kuno IDP board Hardeep Sharma
2026-08-13  9:42   ` Krzysztof Kozlowski
2026-08-14  7:44     ` Hardeep Sharma
2026-08-09  7:27 ` [PATCH 15/15] ARM: dts: qcom: Add initial device tree for Kuno SoC Hardeep Sharma
2026-08-10 20:03   ` Linus Walleij
2026-08-14  7:45     ` Hardeep Sharma
2026-08-11  1:13   ` Dmitry Baryshkov
2026-08-13  9:44     ` Krzysztof Kozlowski
2026-08-13 16:01       ` Dmitry Baryshkov
2026-08-13 16:57         ` Hardeep Sharma
2026-08-13 17:06           ` Dmitry Baryshkov
2026-08-10 18:06 ` [PATCH 00/15] Add initial support for Qualcomm " Linus Walleij

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=55d15218-d812-4b4f-a3a8-ebe02ee26f2b@oss.qualcomm.com \
    --to=hardeep.sharma@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=bmasney@redhat.com \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=djakov@kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=linusw@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux@gurudas.dev \
    --cc=mturquette@baylibre.com \
    --cc=quic_tdas@quicinc.com \
    --cc=radu@rendec.net \
    --cc=robh@kernel.org \
    --cc=robimarko@gmail.com \
    --cc=sboyd@kernel.org \
    --cc=tglx@kernel.org \
    --cc=ulfh@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