# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,dummy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Qualcomm Technologies, Inc. Dummy Clock & Reset Controller Binding

maintainers:
   - Xubin Bai <quic_xubibai@quicinc.com>

description: |
  Dummy clock controller devices provide clock API support for
  driver development during pre-silicon stage. The clock driver
  always returns a dummy clock that has no effect on hardware.

properties:
  compatible:
    const: qcom,dummycc

  clock-output-names:
    items:
      - const: gcc_clocks
      - const: gpucc_clocks
      - const: dispcc_clocks
      - const: cambistmclkcc_clocks
      - const: camcc_clocks
      - const: evacc_clocks
      - const: gxclkctl_clocks
      - const: tcsrcc_clocks
      - const: videocc_clocks

  '#clock-cells':
    const: 1

  '#reset-cells':
    const: 1

required:
  - compatible
  - clock-output-names
  - '#clock-cells'
  - '#reset-cells'

additionalProperties: false

examples:
  - |
    clock_gcc: qcom,gcc {
      compatible = "qcom,dummycc";
      clock-output-names = "gcc_clocks";
      #clock-cells = <1>;
      #reset-cells = <1>;
    };
...

