xref: /linux/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml (revision 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d)
1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Peripheral Authentication Service Common Properties
8
9maintainers:
10  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11
12description:
13  Common properties of Qualcomm SoCs Peripheral Authentication Service.
14
15properties:
16  clocks:
17    minItems: 1
18    maxItems: 2
19
20  clock-names:
21    minItems: 1
22    maxItems: 2
23
24  interconnects:
25    maxItems: 1
26
27  interrupts:
28    minItems: 5
29    maxItems: 6
30
31  interrupt-names:
32    minItems: 5
33    maxItems: 6
34
35  iommus:
36    maxItems: 1
37
38  power-domains:
39    minItems: 1
40    maxItems: 3
41
42  power-domain-names:
43    minItems: 1
44    maxItems: 3
45
46  qcom,smem-states:
47    $ref: /schemas/types.yaml#/definitions/phandle-array
48    description: States used by the AP to signal the Hexagon core
49    minItems: 1
50    items:
51      - description: Stop the remoteproc
52        items:
53          - description: Phandle to the Shared Memory Point 2 Point device
54              handling the communication with a remote processor
55          - description: Single bit index to toggle in the value sent to
56              the remote processor
57            maximum: 32
58      - description: Ping the remoteproc
59        items:
60          - description: Phandle to the Shared Memory Point 2 Point device
61              handling the communication with a remote processor
62          - description: Single bit index to toggle in the value sent to
63              the remote processor
64            maximum: 32
65
66  qcom,smem-state-names:
67    description: The names of the state bits used for SMP2P output
68    minItems: 1
69    items:
70      - const: stop
71      - const: ping
72
73  smd-edge:
74    $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
75    description:
76      Qualcomm Shared Memory subnode which represents communication edge,
77      channels and devices related to the ADSP.
78    unevaluatedProperties: false
79
80  glink-edge:
81    $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
82    description:
83      Qualcomm G-Link subnode which represents communication edge, channels
84      and devices related to the ADSP.
85    unevaluatedProperties: false
86
87required:
88  - clocks
89  - clock-names
90  - interrupts
91  - interrupt-names
92  - qcom,smem-states
93  - qcom,smem-state-names
94
95additionalProperties: true
96