Re: [PATCH 10/15] dt-bindings: clock: qcom: Add Kuno Global Clock Controller
From: Krzysztof Kozlowski
Date: Thu Aug 13 2026 - 05:57:56 EST
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.
>
> Signed-off-by: Hardeep Sharma <hardeep.sharma@xxxxxxxxxxxxxxxx>
> ---
> .../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@xxxxxxxxxxxxxxxx>
> +
> +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.
> +
> +allOf:
> + - $ref: qcom,gcc.yaml#
> +
> +unevaluatedProperties: false
Best regards,
Krzysztof