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
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8150.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding for SM8150
8
9maintainers:
10 - Stephen Boyd <sboyd@kernel.org>
11 - Taniya Das <tdas@codeaurora.org>
12
13description: |
14 Qualcomm global clock control module which supports the clocks, resets and
15 power domains on SM8150.
16
17 See also:
18 - dt-bindings/clock/qcom,gcc-sm8150.h
19
20properties:
21 compatible:
22 const: qcom,gcc-sm8150
23
24 clocks:
25 items:
26 - description: Board XO source
27 - description: Sleep clock source
28
29 clock-names:
30 items:
31 - const: bi_tcxo
32 - const: sleep_clk
33
34 '#clock-cells':
35 const: 1
36
37 '#reset-cells':
38 const: 1
39
40 '#power-domain-cells':
41 const: 1
42
43 reg:
44 maxItems: 1
45
46 protected-clocks:
47 description:
48 Protected clock specifier list as per common clock binding.
49
50required:
51 - compatible
52 - clocks
53 - clock-names
54 - reg
55 - '#clock-cells'
56 - '#reset-cells'
57 - '#power-domain-cells'
58
59examples:
60 - |
61 #include <dt-bindings/clock/qcom,rpmh.h>
62 clock-controller@100000 {
63 compatible = "qcom,gcc-sm8150";
64 reg = <0 0x00100000 0 0x1f0000>;
65 clocks = <&rpmhcc RPMH_CXO_CLK>,
66 <&sleep_clk>;
67 clock-names = "bi_tcxo", "sleep_clk";
68 #clock-cells = <1>;
69 #reset-cells = <1>;
70 #power-domain-cells = <1>;
71 };
72...