xref: /freebsd-src/sys/contrib/device-tree/Bindings/remoteproc/qcom,pas-common.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Qualcomm Peripheral Authentication Service Common Properties
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotdescription:
13*cb7aa33aSEmmanuel Vadot  Common properties of Qualcomm SoCs Peripheral Authentication Service.
14*cb7aa33aSEmmanuel Vadot
15*cb7aa33aSEmmanuel Vadotproperties:
16*cb7aa33aSEmmanuel Vadot  clocks:
17*cb7aa33aSEmmanuel Vadot    minItems: 1
18*cb7aa33aSEmmanuel Vadot    maxItems: 2
19*cb7aa33aSEmmanuel Vadot
20*cb7aa33aSEmmanuel Vadot  clock-names:
21*cb7aa33aSEmmanuel Vadot    minItems: 1
22*cb7aa33aSEmmanuel Vadot    maxItems: 2
23*cb7aa33aSEmmanuel Vadot
24*cb7aa33aSEmmanuel Vadot  interconnects:
25*cb7aa33aSEmmanuel Vadot    maxItems: 1
26*cb7aa33aSEmmanuel Vadot
27*cb7aa33aSEmmanuel Vadot  interrupts:
28*cb7aa33aSEmmanuel Vadot    minItems: 5
29*cb7aa33aSEmmanuel Vadot    items:
30*cb7aa33aSEmmanuel Vadot      - description: Watchdog interrupt
31*cb7aa33aSEmmanuel Vadot      - description: Fatal interrupt
32*cb7aa33aSEmmanuel Vadot      - description: Ready interrupt
33*cb7aa33aSEmmanuel Vadot      - description: Handover interrupt
34*cb7aa33aSEmmanuel Vadot      - description: Stop acknowledge interrupt
35*cb7aa33aSEmmanuel Vadot      - description: Shutdown acknowledge interrupt
36*cb7aa33aSEmmanuel Vadot
37*cb7aa33aSEmmanuel Vadot  interrupt-names:
38*cb7aa33aSEmmanuel Vadot    minItems: 5
39*cb7aa33aSEmmanuel Vadot    items:
40*cb7aa33aSEmmanuel Vadot      - const: wdog
41*cb7aa33aSEmmanuel Vadot      - const: fatal
42*cb7aa33aSEmmanuel Vadot      - const: ready
43*cb7aa33aSEmmanuel Vadot      - const: handover
44*cb7aa33aSEmmanuel Vadot      - const: stop-ack
45*cb7aa33aSEmmanuel Vadot      - const: shutdown-ack
46*cb7aa33aSEmmanuel Vadot
47*cb7aa33aSEmmanuel Vadot  power-domains:
48*cb7aa33aSEmmanuel Vadot    minItems: 1
49*cb7aa33aSEmmanuel Vadot    maxItems: 3
50*cb7aa33aSEmmanuel Vadot
51*cb7aa33aSEmmanuel Vadot  power-domain-names:
52*cb7aa33aSEmmanuel Vadot    minItems: 1
53*cb7aa33aSEmmanuel Vadot    maxItems: 3
54*cb7aa33aSEmmanuel Vadot
55*cb7aa33aSEmmanuel Vadot  qcom,smem-states:
56*cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
57*cb7aa33aSEmmanuel Vadot    description: States used by the AP to signal the Hexagon core
58*cb7aa33aSEmmanuel Vadot    items:
59*cb7aa33aSEmmanuel Vadot      - description: Stop the modem
60*cb7aa33aSEmmanuel Vadot
61*cb7aa33aSEmmanuel Vadot  qcom,smem-state-names:
62*cb7aa33aSEmmanuel Vadot    description: The names of the state bits used for SMP2P output
63*cb7aa33aSEmmanuel Vadot    items:
64*cb7aa33aSEmmanuel Vadot      - const: stop
65*cb7aa33aSEmmanuel Vadot
66*cb7aa33aSEmmanuel Vadot  smd-edge:
67*cb7aa33aSEmmanuel Vadot    $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
68*cb7aa33aSEmmanuel Vadot    description:
69*cb7aa33aSEmmanuel Vadot      Qualcomm Shared Memory subnode which represents communication edge,
70*cb7aa33aSEmmanuel Vadot      channels and devices related to the ADSP.
71*cb7aa33aSEmmanuel Vadot    unevaluatedProperties: false
72*cb7aa33aSEmmanuel Vadot
73*cb7aa33aSEmmanuel Vadot  glink-edge:
74*cb7aa33aSEmmanuel Vadot    $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
75*cb7aa33aSEmmanuel Vadot    description:
76*cb7aa33aSEmmanuel Vadot      Qualcomm G-Link subnode which represents communication edge, channels
77*cb7aa33aSEmmanuel Vadot      and devices related to the ADSP.
78*cb7aa33aSEmmanuel Vadot    unevaluatedProperties: false
79*cb7aa33aSEmmanuel Vadot
80*cb7aa33aSEmmanuel Vadotrequired:
81*cb7aa33aSEmmanuel Vadot  - clocks
82*cb7aa33aSEmmanuel Vadot  - clock-names
83*cb7aa33aSEmmanuel Vadot  - interrupts
84*cb7aa33aSEmmanuel Vadot  - interrupt-names
85*cb7aa33aSEmmanuel Vadot  - qcom,smem-states
86*cb7aa33aSEmmanuel Vadot  - qcom,smem-state-names
87*cb7aa33aSEmmanuel Vadot
88*cb7aa33aSEmmanuel VadotadditionalProperties: true
89