Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / remoteproc / qcom,sc8180x-pas.yaml
1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc8180x-pas.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm SC8180X Peripheral Authentication Service
8
9 maintainers:
10   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11
12 description:
13   Qualcomm SC8180X SoC Peripheral Authentication Service loads and boots
14   firmware on the Qualcomm DSP Hexagon cores.
15
16 properties:
17   compatible:
18     enum:
19       - qcom,sc8180x-adsp-pas
20       - qcom,sc8180x-cdsp-pas
21       - qcom,sc8180x-mpss-pas
22
23   reg:
24     maxItems: 1
25
26   clocks:
27     items:
28       - description: XO clock
29
30   clock-names:
31     items:
32       - const: xo
33
34   qcom,qmp:
35     $ref: /schemas/types.yaml#/definitions/phandle
36     description: Reference to the AOSS side-channel message RAM.
37
38   smd-edge: false
39
40   memory-region:
41     maxItems: 1
42     description: Reference to the reserved-memory for the Hexagon core
43
44   firmware-name:
45     $ref: /schemas/types.yaml#/definitions/string
46     description: Firmware name for the Hexagon core
47
48 required:
49   - compatible
50   - reg
51   - memory-region
52
53 allOf:
54   - $ref: /schemas/remoteproc/qcom,pas-common.yaml#
55   - if:
56       properties:
57         compatible:
58           enum:
59             - qcom,sc8180x-adsp-pas
60             - qcom,sc8180x-cdsp-pas
61     then:
62       properties:
63         interrupts:
64           maxItems: 5
65         interrupt-names:
66           maxItems: 5
67     else:
68       properties:
69         interrupts:
70           minItems: 6
71         interrupt-names:
72           minItems: 6
73
74   - if:
75       properties:
76         compatible:
77           enum:
78             - qcom,sc8180x-adsp-pas
79             - qcom,sc8180x-cdsp-pas
80     then:
81       properties:
82         power-domains:
83           items:
84             - description: LCX power domain
85             - description: LMX power domain
86         power-domain-names:
87           items:
88             - const: lcx
89             - const: lmx
90     else:
91       properties:
92         # TODO: incomplete
93         power-domains: false
94         power-domain-names: false
95
96 unevaluatedProperties: false