diff --git a/bindings/soc/qcom/qcom,slate_events_bridge.yaml b/bindings/soc/qcom/qcom,slate_events_bridge.yaml new file mode 100644 index 00000000..ce958966 --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_events_bridge.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_events_bridge.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Slate Events Bridge Driver + +maintainers: + - Praveen koya + +description: | + slate_events_bridge driver provides a set of apis for clients + to receive events from slate co processor. The events are + received over Glink. + +properties: + compatible: + const: qcom,slate-events-bridge + +required: + - compatible + +additionalProperties: false + +examples: + - | + qcom,slate-events-bridge { + compatible = "qcom,slate-events-bridge"; + }; diff --git a/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml b/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml new file mode 100644 index 00000000..80d3373e --- /dev/null +++ b/bindings/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/qcom/qcom,slate_events_bridge_rpmsg.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Slate Events Bridge RPMSG Driver + +maintainers: + - Praveen koya + +description: | + slate_events_bridge_rpmsg driver provides functionality + to send and receive data over Glink from slate co processor. + +properties: + compatible: + const: qcom,slate-events-bridge-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 + +additionalProperties: false + +examples: + - | + qcom,slate-events-bridge-rpmsg { + compatible = "qcom,slate-events-bridge-rpmsg"; + qcom,glink-channels = "slate_events"; + qcom,glinkpkt-edge = "slate"; + intents = <0x200 5>; + }; +