xref: /linux/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml (revision 05d32474ab547fb097cfe3f3eb00a2aa7cdf4067)
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    items:
30      - description: Watchdog interrupt
31      - description: Fatal interrupt
32      - description: Ready interrupt
33      - description: Handover interrupt
34      - description: Stop acknowledge interrupt
35      - description: Shutdown acknowledge interrupt
36
37  interrupt-names:
38    minItems: 5
39    items:
40      - const: wdog
41      - const: fatal
42      - const: ready
43      - const: handover
44      - const: stop-ack
45      - const: shutdown-ack
46
47  iommus:
48    maxItems: 1
49
50  power-domains:
51    minItems: 1
52    maxItems: 3
53
54  power-domain-names:
55    minItems: 1
56    maxItems: 3
57
58  qcom,smem-states:
59    $ref: /schemas/types.yaml#/definitions/phandle-array
60    description: States used by the AP to signal the Hexagon core
61    items:
62      - description: Stop the modem
63        items:
64          - description: Phandle to the Shared Memory Point 2 Point device
65              handling the communication with a remote processor
66          - description: Single bit index to toggle in the value sent to
67              the remote processor
68            maximum: 32
69
70  qcom,smem-state-names:
71    description: The names of the state bits used for SMP2P output
72    items:
73      - const: stop
74
75  smd-edge:
76    $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
77    description:
78      Qualcomm Shared Memory subnode which represents communication edge,
79      channels and devices related to the ADSP.
80    unevaluatedProperties: false
81
82  glink-edge:
83    $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
84    description:
85      Qualcomm G-Link subnode which represents communication edge, channels
86      and devices related to the ADSP.
87    unevaluatedProperties: false
88
89required:
90  - clocks
91  - clock-names
92  - interrupts
93  - interrupt-names
94  - qcom,smem-states
95  - qcom,smem-state-names
96
97additionalProperties: true
98