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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/remoteproc/qcom,adsp.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 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/remoteproc/qcom,adsp.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm ADSP Peripheral Image Loader
  8 
  9 maintainers:
 10   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
 11 
 12 description:
 13   This document defines the binding for a component that loads and boots
 14   firmware on the Qualcomm ADSP Hexagon core.
 15 
 16 properties:
 17   compatible:
 18     enum:
 19       - qcom,msm8226-adsp-pil
 20       - qcom,msm8953-adsp-pil
 21       - qcom,msm8974-adsp-pil
 22       - qcom,msm8996-adsp-pil
 23       - qcom,msm8996-slpi-pil
 24       - qcom,msm8998-adsp-pas
 25       - qcom,msm8998-slpi-pas
 26       - qcom,sdm660-adsp-pas
 27       - qcom,sdm845-adsp-pas
 28       - qcom,sdm845-cdsp-pas
 29       - qcom,sdm845-slpi-pas
 30 
 31   reg:
 32     maxItems: 1
 33 
 34   cx-supply:
 35     description: Phandle to the CX regulator
 36 
 37   px-supply:
 38     description: Phandle to the PX regulator
 39 
 40   qcom,qmp:
 41     $ref: /schemas/types.yaml#/definitions/phandle
 42     description: Reference to the AOSS side-channel message RAM.
 43 
 44   memory-region:
 45     maxItems: 1
 46     description: Reference to the reserved-memory for the Hexagon core
 47 
 48   firmware-name:
 49     maxItems: 1
 50     description: Firmware name for the Hexagon core
 51 
 52 required:
 53   - compatible
 54   - memory-region
 55 
 56 unevaluatedProperties: false
 57 
 58 allOf:
 59   - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
 60   - if:
 61       properties:
 62         compatible:
 63           contains:
 64             enum:
 65               - qcom,msm8226-adsp-pil
 66               - qcom,msm8953-adsp-pil
 67               - qcom,msm8974-adsp-pil
 68               - qcom,msm8996-adsp-pil
 69               - qcom,msm8996-slpi-pil
 70               - qcom,msm8998-adsp-pas
 71               - qcom,msm8998-slpi-pas
 72               - qcom,sdm845-adsp-pas
 73               - qcom,sdm845-cdsp-pas
 74               - qcom,sdm845-slpi-pas
 75     then:
 76       properties:
 77         clocks:
 78           items:
 79             - description: XO clock
 80         clock-names:
 81           items:
 82             - const: xo
 83 
 84   - if:
 85       properties:
 86         compatible:
 87           contains:
 88             enum:
 89               - qcom,msm8226-adsp-pil
 90               - qcom,msm8953-adsp-pil
 91               - qcom,msm8974-adsp-pil
 92               - qcom,msm8996-adsp-pil
 93               - qcom,msm8996-slpi-pil
 94               - qcom,msm8998-adsp-pas
 95               - qcom,msm8998-slpi-pas
 96               - qcom,sdm845-adsp-pas
 97               - qcom,sdm845-cdsp-pas
 98               - qcom,sdm845-slpi-pas
 99     then:
100       properties:
101         interrupts:
102           maxItems: 5
103         interrupt-names:
104           maxItems: 5
105 
106   - if:
107       properties:
108         compatible:
109           contains:
110             enum:
111               - qcom,msm8974-adsp-pil
112     then:
113       required:
114         - cx-supply
115 
116   - if:
117       properties:
118         compatible:
119           contains:
120             enum:
121               - qcom,msm8226-adsp-pil
122               - qcom,msm8953-adsp-pil
123               - qcom,msm8996-adsp-pil
124               - qcom,msm8998-adsp-pas
125     then:
126       properties:
127         power-domains:
128           items:
129             - description: CX power domain
130         power-domain-names:
131           items:
132             - const: cx
133 
134   - if:
135       properties:
136         compatible:
137           contains:
138             enum:
139               - qcom,msm8996-slpi-pil
140               - qcom,msm8998-slpi-pas
141     then:
142       properties:
143         power-domains:
144           items:
145             - description: SSC-CX power domain
146         power-domain-names:
147           items:
148             - const: ssc_cx
149       required:
150         - px-supply
151 
152   - if:
153       properties:
154         compatible:
155           enum:
156             - qcom,sdm845-slpi-pas
157     then:
158       properties:
159         power-domains:
160           items:
161             - description: LCX power domain
162             - description: LMX power domain
163         power-domain-names:
164           items:
165             - const: lcx
166             - const: lmx
167 
168   - if:
169       properties:
170         compatible:
171           contains:
172             enum:
173               - qcom,msm8226-adsp-pil
174               - qcom,msm8953-adsp-pil
175               - qcom,msm8974-adsp-pil
176               - qcom,msm8996-adsp-pil
177               - qcom,msm8996-slpi-pil
178               - qcom,msm8998-adsp-pas
179               - qcom,msm8998-slpi-pas
180               - qcom,sdm660-adsp-pas
181     then:
182       properties:
183         qcom,qmp: false
184 
185 examples:
186   - |
187     #include <dt-bindings/clock/qcom,rpmcc.h>
188     #include <dt-bindings/interrupt-controller/arm-gic.h>
189     #include <dt-bindings/interrupt-controller/irq.h>
190     adsp {
191         compatible = "qcom,msm8974-adsp-pil";
192 
193         interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
194                       <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
195                       <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
196                       <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
197                       <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
198         interrupt-names = "wdog",
199                   "fatal",
200                   "ready",
201                   "handover",
202                   "stop-ack";
203 
204         clocks = <&rpmcc RPM_CXO_CLK>;
205         clock-names = "xo";
206 
207         cx-supply = <&pm8841_s2>;
208 
209         memory-region = <&adsp_region>;
210 
211         qcom,smem-states = <&adsp_smp2p_out 0>;
212         qcom,smem-state-names = "stop";
213 
214         smd-edge {
215             interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
216 
217             qcom,ipc = <&apcs 8 8>;
218             qcom,smd-edge = <1>;
219         };
220     };

~ [ 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