mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
dt-bindings: soc: qcom: Introduce Glink Probe bindings
The RPMSG over GLINK transport expects to be a subdev in a remote proc node. This driver helps probe the glink transports when remote proc is disabled. Change-Id: I2b29ad88d347321434470c1d0db365bccc4f1e92
This commit is contained in:
69
bindings/soc/qcom/qcom,glink-probe.txt
Normal file
69
bindings/soc/qcom/qcom,glink-probe.txt
Normal file
@@ -0,0 +1,69 @@
|
||||
Qualcomm Technologies, Inc. GLINK Probe
|
||||
|
||||
This binding describes the GLINK Probe driver, a device
|
||||
that initializes the GLINK edge pairs within the system.
|
||||
|
||||
- compatible :
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: must be "qcom,glink"
|
||||
|
||||
= SUBNODES
|
||||
The GLINK probe node must contain subnodes that describes the
|
||||
edge-pairs. See qcom,glink.txt for details on how to describe them.
|
||||
|
||||
In addition to the properties in qcom,glink.txt, The GLINK Probe driver
|
||||
requires the qcom,glink-label and transport type to be specified in the
|
||||
subnodes.
|
||||
|
||||
- transport :
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: must be "smem", "spss", or "spi"
|
||||
|
||||
- qcom,glink-label :
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: specifies the identifier of the remote proc of this edge.
|
||||
|
||||
= GLINK_SSR
|
||||
The GLINK probe driver also initializes the GLINK_SSR channel for the edges
|
||||
that it brings up. The channel should be specified as a subnode to each edge. In
|
||||
addition to the properties in qcom,glink.txt to specify a channel device node,
|
||||
the qcom,notify-edges property must be defined.
|
||||
|
||||
- qcom,notify-edges :
|
||||
Usage: required
|
||||
Value type: <prop-encoded-array>
|
||||
Definition: list of phandles that specify the subsystems this glink edge
|
||||
needs to receive ssr notifications about.
|
||||
|
||||
= EXAMPLE
|
||||
qcom,glink {
|
||||
compatible = "qcom,glink";
|
||||
glink_modem: modem {
|
||||
transport = "smem";
|
||||
qcom,remote-pid = <0>;
|
||||
mboxes = <&apcs_glb 8>;
|
||||
mbox-names = "mpss_smem";
|
||||
interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,modem_glink_ssr {
|
||||
qcom,glink-channels = "glink_ssr";
|
||||
qcom,notify-edges = <&glink_adsp>;
|
||||
};
|
||||
};
|
||||
|
||||
glink_adsp: adsp {
|
||||
transport = "smem";
|
||||
qcom,remote-pid = <2>;
|
||||
mboxes = <&apcs_glb 4>;
|
||||
mbox-names = "adsp_smem";
|
||||
interrupts = <GIC_SPI 348 IRQ_TYPE_EDGE_RISING>;
|
||||
|
||||
qcom,modem_glink_ssr {
|
||||
qcom,glink-channels = "glink_ssr";
|
||||
qcom,notify-edges = <&glink_modem>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user