Re: [PATCH v2 5/6] dt-bindings: clock: Add Qcom SM6115 GPUCC

From: Krzysztof Kozlowski
Date: Fri Jan 27 2023 - 05:22:59 EST


On 26/01/2023 19:13, Konrad Dybcio wrote:
> Add device tree bindings for graphics clock controller for Qualcomm
> Technology Inc's SM6115 SoCs.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
> ---
> v1 -> v2:
>
> No changes
>
> .../bindings/clock/qcom,sm6115-gpucc.yaml | 71 +++++++++++++++++++
> include/dt-bindings/clock/qcom,sm6115-gpucc.h | 36 ++++++++++
> 2 files changed, 107 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml
> create mode 100644 include/dt-bindings/clock/qcom,sm6115-gpucc.h
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml
> new file mode 100644
> index 000000000000..abf4e87359a3
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,sm6115-gpucc.yaml
> @@ -0,0 +1,71 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/qcom,sm6115-gpucc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm Graphics Clock & Reset Controller on SM6115
> +
> +maintainers:
> + - Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
> +
> +description: |
> + Qualcomm graphics clock control module provides clocks and power domains on
> + Qualcomm SoCs.
> +
> + See also:: include/dt-bindings/clock/qcom,sm6115-gpucc.h
> +
> +properties:
> + compatible:
> + enum:
> + - qcom,sm6115-gpucc
> +
> + clocks:
> + items:
> + - description: Board XO source
> + - description: GPLL0 main branch source
> + - description: GPLL0 main div source
> +
> + '#clock-cells':
> + const: 1
> +
> + '#power-domain-cells':
> + const: 1
> +
> + '#reset-cells':
> + const: 1
> +
> + reg:
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - '#clock-cells'
> + - '#reset-cells'
> + - '#power-domain-cells'

Why this one is not referencing gcc.yaml? Looks the same as your
previous sm6375.

Best regards,
Krzysztof