Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sm7150-gcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on SM7150
8
9maintainers:
10 - Bjorn Andersson <andersson@kernel.org>
11 - Danila Tikhonov <danila@jiaxyga.com>
12 - David Wronek <davidwronek@gmail.com>
13
14description: |
15 Qualcomm global clock control module provides the clocks, resets and power
16 domains on SM7150
17
18 See also: include/dt-bindings/clock/qcom,sm7150-gcc.h
19
20properties:
21 compatible:
22 const: qcom,sm7150-gcc
23
24 clocks:
25 items:
26 - description: Board XO source
27 - description: Board XO Active-Only source
28 - description: Sleep clock source
29
30required:
31 - compatible
32 - clocks
33 - '#power-domain-cells'
34
35allOf:
36 - $ref: qcom,gcc.yaml#
37
38unevaluatedProperties: false
39
40examples:
41 - |
42 #include <dt-bindings/clock/qcom,rpmh.h>
43 clock-controller@100000 {
44 compatible = "qcom,sm7150-gcc";
45 reg = <0x00100000 0x001f0000>;
46 clocks = <&rpmhcc RPMH_CXO_CLK>,
47 <&rpmhcc RPMH_CXO_CLK_A>,
48 <&sleep_clk>;
49 #clock-cells = <1>;
50 #reset-cells = <1>;
51 #power-domain-cells = <1>;
52 };
53...