~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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,sc7280-lpasscorecc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm LPASS Core & Audio Clock Controller on SC7280
  8 
  9 maintainers:
 10   - Taniya Das <quic_tdas@quicinc.com>
 11 
 12 description: |
 13   Qualcomm LPASS core and audio clock control module provides the clocks and
 14   power domains on SC7280.
 15 
 16   See also::
 17     include/dt-bindings/clock/qcom,lpasscorecc-sc7280.h
 18     include/dt-bindings/clock/qcom,lpassaudiocc-sc7280.h
 19 
 20 properties:
 21   clocks: true
 22 
 23   clock-names: true
 24 
 25   reg: true
 26 
 27   compatible:
 28     enum:
 29       - qcom,sc7280-lpassaoncc
 30       - qcom,sc7280-lpassaudiocc
 31       - qcom,sc7280-lpasscorecc
 32       - qcom,sc7280-lpasshm
 33 
 34   power-domains:
 35     maxItems: 1
 36 
 37   '#clock-cells':
 38     const: 1
 39 
 40   '#power-domain-cells':
 41     const: 1
 42 
 43   '#reset-cells':
 44     const: 1
 45 
 46   qcom,adsp-pil-mode:
 47     description:
 48       Indicates if the LPASS would be brought out of reset using
 49       peripheral loader.
 50     type: boolean
 51 
 52 required:
 53   - compatible
 54   - reg
 55   - clocks
 56   - clock-names
 57   - '#clock-cells'
 58   - '#power-domain-cells'
 59 
 60 additionalProperties: false
 61 
 62 allOf:
 63   - if:
 64       properties:
 65         compatible:
 66           contains:
 67             const: qcom,sc7280-lpassaudiocc
 68 
 69     then:
 70       properties:
 71         clocks:
 72           items:
 73             - description: Board XO source
 74             - description: LPASS_AON_CC_MAIN_RCG_CLK_SRC
 75 
 76         clock-names:
 77           items:
 78             - const: bi_tcxo
 79             - const: lpass_aon_cc_main_rcg_clk_src
 80 
 81         reg:
 82           items:
 83             - description: lpass core cc register
 84             - description: lpass audio csr register
 85   - if:
 86       properties:
 87         compatible:
 88           contains:
 89             enum:
 90               - qcom,sc7280-lpassaoncc
 91 
 92     then:
 93       properties:
 94         clocks:
 95           items:
 96             - description: Board XO source
 97             - description: Board XO active only source
 98             - description: LPASS_AON_CC_MAIN_RCG_CLK_SRC
 99 
100         clock-names:
101           items:
102             - const: bi_tcxo
103             - const: bi_tcxo_ao
104             - const: iface
105 
106         reg:
107           maxItems: 1
108   - if:
109       properties:
110         compatible:
111           contains:
112             enum:
113               - qcom,sc7280-lpasshm
114               - qcom,sc7280-lpasscorecc
115 
116     then:
117       properties:
118         clocks:
119           items:
120             - description: Board XO source
121 
122         clock-names:
123           items:
124             - const: bi_tcxo
125 
126         reg:
127           maxItems: 1
128 examples:
129   - |
130     #include <dt-bindings/clock/qcom,rpmh.h>
131     #include <dt-bindings/clock/qcom,gcc-sc7280.h>
132     #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
133     #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
134     lpass_audiocc: clock-controller@3300000 {
135       compatible = "qcom,sc7280-lpassaudiocc";
136       reg = <0x3300000 0x30000>,
137             <0x32a9000 0x1000>;
138       clocks = <&rpmhcc RPMH_CXO_CLK>,
139                <&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>;
140       clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src";
141       power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>;
142       #clock-cells = <1>;
143       #power-domain-cells = <1>;
144       #reset-cells = <1>;
145     };
146 
147   - |
148     #include <dt-bindings/clock/qcom,rpmh.h>
149     #include <dt-bindings/clock/qcom,gcc-sc7280.h>
150     #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
151     #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
152     lpass_hm: clock-controller@3c00000 {
153       compatible = "qcom,sc7280-lpasshm";
154       reg = <0x3c00000 0x28>;
155       clocks = <&rpmhcc RPMH_CXO_CLK>;
156       clock-names = "bi_tcxo";
157       #clock-cells = <1>;
158       #power-domain-cells = <1>;
159     };
160 
161   - |
162     #include <dt-bindings/clock/qcom,rpmh.h>
163     #include <dt-bindings/clock/qcom,gcc-sc7280.h>
164     #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
165     #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
166     lpasscore: clock-controller@3900000 {
167       compatible = "qcom,sc7280-lpasscorecc";
168       reg = <0x3900000 0x50000>;
169       clocks = <&rpmhcc RPMH_CXO_CLK>;
170       clock-names = "bi_tcxo";
171       power-domains = <&lpass_hm LPASS_CORE_CC_LPASS_CORE_HM_GDSC>;
172       #clock-cells = <1>;
173       #power-domain-cells = <1>;
174     };
175 
176   - |
177     #include <dt-bindings/clock/qcom,rpmh.h>
178     #include <dt-bindings/clock/qcom,gcc-sc7280.h>
179     #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h>
180     #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h>
181     lpass_aon: clock-controller@3380000 {
182       compatible = "qcom,sc7280-lpassaoncc";
183       reg = <0x3380000 0x30000>;
184       clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>,
185                <&lpasscore LPASS_CORE_CC_CORE_CLK>;
186       clock-names = "bi_tcxo", "bi_tcxo_ao","iface";
187       qcom,adsp-pil-mode;
188       #clock-cells = <1>;
189       #power-domain-cells = <1>;
190     };
191 
192 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php