12a8aa18cSDouglas Anderson# SPDX-License-Identifier: GPL-2.0-only
22a8aa18cSDouglas Anderson%YAML 1.2
32a8aa18cSDouglas Anderson---
42a8aa18cSDouglas Anderson$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8150.yaml#
52a8aa18cSDouglas Anderson$schema: http://devicetree.org/meta-schemas/core.yaml#
62a8aa18cSDouglas Anderson
72a8aa18cSDouglas Andersontitle: Qualcomm Global Clock & Reset Controller Binding for SM8150
82a8aa18cSDouglas Anderson
92a8aa18cSDouglas Andersonmaintainers:
102a8aa18cSDouglas Anderson  - Stephen Boyd <sboyd@kernel.org>
112a8aa18cSDouglas Anderson  - Taniya Das <tdas@codeaurora.org>
122a8aa18cSDouglas Anderson
132a8aa18cSDouglas Andersondescription: |
142a8aa18cSDouglas Anderson  Qualcomm global clock control module which supports the clocks, resets and
152a8aa18cSDouglas Anderson  power domains on SM8150.
162a8aa18cSDouglas Anderson
172a8aa18cSDouglas Anderson  See also:
182a8aa18cSDouglas Anderson  - dt-bindings/clock/qcom,gcc-sm8150.h
192a8aa18cSDouglas Anderson
202a8aa18cSDouglas Andersonproperties:
212a8aa18cSDouglas Anderson  compatible:
222a8aa18cSDouglas Anderson    const: qcom,gcc-sm8150
232a8aa18cSDouglas Anderson
242a8aa18cSDouglas Anderson  clocks:
252a8aa18cSDouglas Anderson    items:
262a8aa18cSDouglas Anderson      - description: Board XO source
272a8aa18cSDouglas Anderson      - description: Sleep clock source
282a8aa18cSDouglas Anderson
292a8aa18cSDouglas Anderson  clock-names:
302a8aa18cSDouglas Anderson    items:
312a8aa18cSDouglas Anderson      - const: bi_tcxo
322a8aa18cSDouglas Anderson      - const: sleep_clk
332a8aa18cSDouglas Anderson
342a8aa18cSDouglas Anderson  '#clock-cells':
352a8aa18cSDouglas Anderson    const: 1
362a8aa18cSDouglas Anderson
372a8aa18cSDouglas Anderson  '#reset-cells':
382a8aa18cSDouglas Anderson    const: 1
392a8aa18cSDouglas Anderson
402a8aa18cSDouglas Anderson  '#power-domain-cells':
412a8aa18cSDouglas Anderson    const: 1
422a8aa18cSDouglas Anderson
432a8aa18cSDouglas Anderson  reg:
442a8aa18cSDouglas Anderson    maxItems: 1
452a8aa18cSDouglas Anderson
462a8aa18cSDouglas Anderson  protected-clocks:
472a8aa18cSDouglas Anderson    description:
482a8aa18cSDouglas Anderson      Protected clock specifier list as per common clock binding.
492a8aa18cSDouglas Anderson
502a8aa18cSDouglas Andersonrequired:
512a8aa18cSDouglas Anderson  - compatible
522a8aa18cSDouglas Anderson  - clocks
532a8aa18cSDouglas Anderson  - clock-names
542a8aa18cSDouglas Anderson  - reg
552a8aa18cSDouglas Anderson  - '#clock-cells'
562a8aa18cSDouglas Anderson  - '#reset-cells'
572a8aa18cSDouglas Anderson  - '#power-domain-cells'
582a8aa18cSDouglas Anderson
597f464532SRob HerringadditionalProperties: false
607f464532SRob Herring
612a8aa18cSDouglas Andersonexamples:
622a8aa18cSDouglas Anderson  - |
632a8aa18cSDouglas Anderson    #include <dt-bindings/clock/qcom,rpmh.h>
642a8aa18cSDouglas Anderson    clock-controller@100000 {
652a8aa18cSDouglas Anderson      compatible = "qcom,gcc-sm8150";
662a8aa18cSDouglas Anderson      reg = <0 0x00100000 0 0x1f0000>;
672a8aa18cSDouglas Anderson      clocks = <&rpmhcc RPMH_CXO_CLK>,
682a8aa18cSDouglas Anderson               <&sleep_clk>;
692a8aa18cSDouglas Anderson      clock-names = "bi_tcxo", "sleep_clk";
702a8aa18cSDouglas Anderson      #clock-cells = <1>;
712a8aa18cSDouglas Anderson      #reset-cells = <1>;
722a8aa18cSDouglas Anderson      #power-domain-cells = <1>;
732a8aa18cSDouglas Anderson    };
742a8aa18cSDouglas Anderson...
75