Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6671e29 authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

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: I93ffff4a24f3c6bfcf5887ddf2415a81ae3f74bb
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 50587ea5
Loading
Loading
Loading
Loading
+69 −0
Original line number Diff line number Diff line
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>;
		};
	};
};