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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.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,sm8150-pas.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm SM8150/SM8250 Peripheral Authentication Service
  8 
  9 maintainers:
 10   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
 11 
 12 description:
 13   Qualcomm SM8150/SM8250 SoC Peripheral Authentication Service loads and boots
 14   firmware on the Qualcomm DSP Hexagon cores.
 15 
 16 properties:
 17   compatible:
 18     enum:
 19       - qcom,sm8150-adsp-pas
 20       - qcom,sm8150-cdsp-pas
 21       - qcom,sm8150-mpss-pas
 22       - qcom,sm8150-slpi-pas
 23       - qcom,sm8250-adsp-pas
 24       - qcom,sm8250-cdsp-pas
 25       - qcom,sm8250-slpi-pas
 26 
 27   reg:
 28     maxItems: 1
 29 
 30   clocks:
 31     items:
 32       - description: XO clock
 33 
 34   clock-names:
 35     items:
 36       - const: xo
 37 
 38   qcom,qmp:
 39     $ref: /schemas/types.yaml#/definitions/phandle
 40     description: Reference to the AOSS side-channel message RAM.
 41 
 42   memory-region:
 43     maxItems: 1
 44     description: Reference to the reserved-memory for the Hexagon core
 45 
 46   smd-edge: false
 47 
 48   firmware-name:
 49     maxItems: 1
 50     description: Firmware name for the Hexagon core
 51 
 52 required:
 53   - compatible
 54   - reg
 55   - memory-region
 56 
 57 allOf:
 58   - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
 59   - if:
 60       properties:
 61         compatible:
 62           enum:
 63             - qcom,sm8150-adsp-pas
 64             - qcom,sm8150-cdsp-pas
 65             - qcom,sm8150-slpi-pas
 66             - qcom,sm8250-adsp-pas
 67             - qcom,sm8250-cdsp-pas
 68             - qcom,sm8250-slpi-pas
 69     then:
 70       properties:
 71         interrupts:
 72           maxItems: 5
 73         interrupt-names:
 74           maxItems: 5
 75     else:
 76       properties:
 77         interrupts:
 78           minItems: 6
 79         interrupt-names:
 80           minItems: 6
 81 
 82   - if:
 83       properties:
 84         compatible:
 85           enum:
 86             - qcom,sm8150-adsp-pas
 87             - qcom,sm8150-cdsp-pas
 88             - qcom,sm8250-cdsp-pas
 89     then:
 90       properties:
 91         power-domains:
 92           items:
 93             - description: CX power domain
 94         power-domain-names:
 95           items:
 96             - const: cx
 97 
 98   - if:
 99       properties:
100         compatible:
101           enum:
102             - qcom,sm8150-mpss-pas
103     then:
104       properties:
105         power-domains:
106           items:
107             - description: CX power domain
108             - description: MSS power domain
109         power-domain-names:
110           items:
111             - const: cx
112             - const: mss
113 
114   - if:
115       properties:
116         compatible:
117           enum:
118             - qcom,sm8150-slpi-pas
119             - qcom,sm8250-adsp-pas
120             - qcom,sm8250-slpi-pas
121     then:
122       properties:
123         power-domains:
124           items:
125             - description: LCX power domain
126             - description: LMX power domain
127         power-domain-names:
128           items:
129             - const: lcx
130             - const: lmx
131 
132 unevaluatedProperties: false
133 
134 examples:
135   - |
136     #include <dt-bindings/clock/qcom,rpmh.h>
137     #include <dt-bindings/interrupt-controller/arm-gic.h>
138     #include <dt-bindings/interrupt-controller/irq.h>
139     #include <dt-bindings/power/qcom-rpmpd.h>
140 
141     remoteproc@17300000 {
142         compatible = "qcom,sm8150-adsp-pas";
143         reg = <0x17300000 0x4040>;
144 
145         clocks = <&rpmhcc RPMH_CXO_CLK>;
146         clock-names = "xo";
147 
148         firmware-name = "qcom/sm8150/adsp.mbn";
149 
150         interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
151                               <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
152                               <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
153                               <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
154                               <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
155         interrupt-names = "wdog", "fatal", "ready",
156                           "handover", "stop-ack";
157 
158         memory-region = <&adsp_mem>;
159 
160         power-domains = <&rpmhpd SM8150_CX>;
161 
162         qcom,qmp = <&aoss_qmp>;
163         qcom,smem-states = <&adsp_smp2p_out 0>;
164         qcom,smem-state-names = "stop";
165 
166         glink-edge {
167             interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
168             label = "lpass";
169             qcom,remote-pid = <2>;
170             mboxes = <&apss_shared 8>;
171 
172             /* ... */
173 
174         };
175     };

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