diff --git a/bindings/soc/qcom/qcom,slate_rsb.yaml b/bindings/soc/qcom/qcom,slate_rsb.yaml new file mode 100644 index 00000000..d287df2f --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_rsb.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,slate_rsb.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm technologies, Inc. slate-rsb + +maintainers: + - Praveen koya + +description: | + 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 + +properties: + compatible: + const: qcom,slate-rsb + +required: + - compatible + +additionalProperties: false + +examples: + - | + qcom,slate-rsb { + compatible = "qcom,slate-rsb"; + }; diff --git a/bindings/soc/qcom/qcom,slatersb_rpmsg.yaml b/bindings/soc/qcom/qcom,slatersb_rpmsg.yaml new file mode 100644 index 00000000..f1c64c37 --- /dev/null +++ b/bindings/soc/qcom/qcom,slatersb_rpmsg.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,slatersb_rpmsg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm technologies, Inc. slatersb-rpmsg + +maintainers: + - Praveen koya + +description: | + 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. + +properties: + compatible: + const: qcom,slatersb-rpmsg + + qcom,glink-channels: + $ref: '/schemas/types.yaml#/definitions/string' + description: specifies the glink channel name + + qcom,glinkpkt-edge: + $ref: '/schemas/types.yaml#/definitions/string' + description: specifies the glink edge to match + + intents: + description: specifies the size and count of intents to glink + +required: + - compatible + - qcom,glink-channels + - qcom,glinkpkt-edge + - intents + +additionalProperties: false + +examples: + - | + qcom,slatersb-rpmsg { + compatible = "qcom,slatersb-rpmsg"; + qcom,glink-channels = "RSB_CTRL"; + qcom,glinkpkt-edge = "slate"; + intents = <0x200 1>; + };