Lines Matching +full:smem +full:- +full:state +full:- +full:names
1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alex Elder <elder@kernel.org>
21 and has a distinct interrupt and a separately-defined address space.
28 - |
29 -------- ---------
31 | AP +<---. .----+ Modem |
32 | +--. | | .->+ |
34 -------- | | | | ---------
36 --+-+---+-+--
38 |-----------|
42 -------------
47 - qcom,msm8998-ipa
48 - qcom,sc7180-ipa
49 - qcom,sc7280-ipa
50 - qcom,sdm845-ipa
51 - qcom,sdx55-ipa
52 - qcom,sm8350-ipa
56 - description: IPA registers
57 - description: IPA shared memory
58 - description: GSI registers
60 reg-names:
62 - const: ipa-reg
63 - const: ipa-shared
64 - const: gsi
73 clock-names:
78 - description: IPA interrupt (hardware IRQ)
79 - description: GSI interrupt (hardware IRQ)
80 - description: Modem clock query interrupt (smp2p interrupt)
81 - description: Modem setup ready interrupt (smp2p interrupt)
83 interrupt-names:
85 - const: ipa
86 - const: gsi
87 - const: ipa-clock-query
88 - const: ipa-setup-ready
92 - items:
93 - description: Path leading to system memory
94 - description: Path between the AP and IPA config space
95 - items:
96 - description: Path leading to system memory
97 - description: Path leading to internal memory
98 - description: Path between the AP and IPA config space
100 interconnect-names:
102 - items:
103 - const: memory
104 - const: config
105 - items:
106 - const: memory
107 - const: imem
108 - const: config
112 description: phandle to the AOSS side-channel message RAM
114 qcom,smem-states:
115 $ref: /schemas/types.yaml#/definitions/phandle-array
116 description: State bits used in by the AP to signal the modem.
118 - description: Whether the "ipa-clock-enabled" state bit is valid
119 - description: Whether the IPA clock is enabled (if valid)
121 qcom,smem-state-names:
122 description: The names of the state bits used for SMP2P output
124 - const: ipa-clock-enabled-valid
125 - const: ipa-clock-enabled
127 modem-init:
134 memory-region:
141 firmware-name:
150 - compatible
151 - iommus
152 - reg
153 - clocks
154 - interrupts
155 - interconnects
156 - qcom,smem-states
158 # Either modem-init is present, or memory-region must be present.
160 - required:
161 - modem-init
162 - required:
163 - memory-region
165 # If memory-region is present, firmware-name may optionally be present.
166 # But if modem-init is present, firmware-name must not be present.
169 - modem-init
173 - firmware-name
178 - |
179 #include <dt-bindings/interrupt-controller/arm-gic.h>
180 #include <dt-bindings/clock/qcom,rpmh.h>
181 #include <dt-bindings/interconnect/qcom,sdm845.h>
183 smp2p-mpss {
187 qcom,smem = <94>, <432>;
188 qcom,local-pid = <0>;
189 qcom,remote-pid = <5>;
191 ipa_smp2p_out: ipa-ap-to-modem {
192 qcom,entry-name = "ipa";
193 #qcom,smem-state-cells = <1>;
196 ipa_smp2p_in: ipa-modem-to-ap {
197 qcom,entry-name = "ipa";
198 interrupt-controller;
199 #interrupt-cells = <2>;
204 compatible = "qcom,sdm845-ipa";
206 modem-init;
212 reg-names = "ipa-reg",
213 "ipa-shared",
216 interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
220 interrupt-names = "ipa",
222 "ipa-clock-query",
223 "ipa-setup-ready";
226 clock-names = "core";
232 interconnect-names = "memory",
238 qcom,smem-states = <&ipa_smp2p_out 0>,
240 qcom,smem-state-names = "ipa-clock-enabled-valid",
241 "ipa-clock-enabled";