From c782f6853755fe89aacf5cf50c4e2398789a3381 Mon Sep 17 00:00:00 2001 From: Vivek Yadav Date: Tue, 19 Jul 2022 15:30:59 +0530 Subject: [PATCH] bindings: Add device-tree bindings for SEB, RSB and AON rpmsg drivers Add device-tree bindings documentation describing the properties for the SEB, RSB and AON rpmsg drivers. Change-Id: I58a93f363ea24c6c78e2da55a8b2c076eda14bbe --- .../soc/qcom/qcom,slate_events_bridge.txt | 14 +++++++++++++ .../qcom/qcom,slate_events_bridge_rpmsg.txt | 20 +++++++++++++++++++ bindings/soc/qcom/qcom,slate_rsb.txt | 14 +++++++++++++ bindings/soc/qcom/qcom,slatecom_rpmsg.txt | 20 +++++++++++++++++++ bindings/soc/qcom/qcom,slatersb_rpmsg.txt | 19 ++++++++++++++++++ 5 files changed, 87 insertions(+) create mode 100644 bindings/soc/qcom/qcom,slate_events_bridge.txt create mode 100644 bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.txt create mode 100644 bindings/soc/qcom/qcom,slate_rsb.txt create mode 100644 bindings/soc/qcom/qcom,slatecom_rpmsg.txt create mode 100644 bindings/soc/qcom/qcom,slatersb_rpmsg.txt diff --git a/bindings/soc/qcom/qcom,slate_events_bridge.txt b/bindings/soc/qcom/qcom,slate_events_bridge.txt new file mode 100644 index 00000000..8f0fec72 --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_events_bridge.txt @@ -0,0 +1,14 @@ +* Slate Events Bridge Driver + +slate_events_bridge driver provides a set of apis for clients +to receive events from slate co processor. The events are +received over Glink. + +Required properties: +- compatible: Must be "qcom,slate-events-bridge" + +Example: + qcom,slate-events-bridge { + compatible = "qcom,slate-events-bridge"; + }; + diff --git a/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.txt b/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.txt new file mode 100644 index 00000000..3576e98a --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.txt @@ -0,0 +1,20 @@ +* Slate Events Bridge RPMSG Driver + +slate_events_bridge_rpmsg driver provides functionality +to send and receive data over Glink from slate co processor. + +Required properties: +- compatible: Must be "qcom,slate-events-bridge-rpmsg" +- qcom,glink-channels specifies the glink channel name +- qcom,glinkpkt-edge specifies the glink edge to match + +Optional properties: +- intents specifies the size and count of intents to glink + +Example: + qcom,slate-events-bridge-rpmsg { + compatible = "qcom,slate-events-bridge-rpmsg"; + qcom,glink-channels = "slate_events"; + qcom,glinkpkt-edge = "slate"; + intents = <0x200 5>; + }; diff --git a/bindings/soc/qcom/qcom,slate_rsb.txt b/bindings/soc/qcom/qcom,slate_rsb.txt new file mode 100644 index 00000000..5d7a4173 --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_rsb.txt @@ -0,0 +1,14 @@ +Qualcomm technologies, Inc. slate-rsb + +SALTE-RSB : slate-rsb is used to communicate with Slate over Glink +to configure the RSB eventsslate-rsb send commands over glink to +send configure, enable/disable RSB to Slate + +Required properties: +- compatible : should be "qcom,slate-rsb" + +Example: + qcom,slate-rsb { + compatible = "qcom,slate-rsb"; + }; + diff --git a/bindings/soc/qcom/qcom,slatecom_rpmsg.txt b/bindings/soc/qcom/qcom,slatecom_rpmsg.txt new file mode 100644 index 00000000..4221fdad --- /dev/null +++ b/bindings/soc/qcom/qcom,slatecom_rpmsg.txt @@ -0,0 +1,20 @@ +* Slatecom RPMSG Driver + +slatecom_rpmsg driver provides functionality +to send and receive data over Glink from slate co processor. + +Required properties: +- compatible: Must be "qcom,slatecom-rpmsg" +- qcom,glink-channels specifies the glink channel name +- qcom,glinkpkt-edge specifies the glink edge to match + +Optional properties: +- intents specifies the size and count of intents to glink + +Example: + qcom,slatecom-rpmsg { + compatible = "qcom,slatecom-rpmsg"; + qcom,glink-channels = "slate_ctrl"; + qcom,glinkpkt-edge = "slate"; + intents = <0x200 1>; + }; diff --git a/bindings/soc/qcom/qcom,slatersb_rpmsg.txt b/bindings/soc/qcom/qcom,slatersb_rpmsg.txt new file mode 100644 index 00000000..d6875e4c --- /dev/null +++ b/bindings/soc/qcom/qcom,slatersb_rpmsg.txt @@ -0,0 +1,19 @@ +Qualcomm technologies, Inc. slatersb-rpmsg + +SLATERSB-RPMSG : slatersb-rpmsg is used as an interface between SLATE-RSB +and slate for Glink communication.slate-rsb is used to communicate with +Slate over Glink to configure the RSB events. + +Required properties: +- compatible : should be "qcom,slatersb-rpmsg" +- glink-channels : RSB_CTRL +- glinkpkt-edge : slate +- intents : <0x200 1> + +Example: + qcom,slatersb-rpmsg { + compatible = "qcom,slatersb-rpmsg"; + qcom,glink-channels = "RSB_CTRL"; + qcom,glinkpkt-edge = "slate"; + intents = <0x200 1>; + };