From 95e14958b4e091746342aa005c8ed68132a84095 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Ravi Date: Wed, 24 Aug 2022 10:32:59 +0530 Subject: [PATCH] bindings: mproc: Add support for glink-slatecom strings Update bindings for glink slatecom driver. Change-Id: Ib1a13165f42f2425f20a9c13d229055a29337d84 --- .../soc/qcom/qcom,glink-slatecom-xprt.txt | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 bindings/soc/qcom/qcom,glink-slatecom-xprt.txt diff --git a/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt b/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt new file mode 100644 index 00000000..6a87d547 --- /dev/null +++ b/bindings/soc/qcom/qcom,glink-slatecom-xprt.txt @@ -0,0 +1,75 @@ +Qualcomm Technologies, Inc GLINK SLATECOM transport (glink_slatecom_xprt) binding + +This binding describes the Qualcomm Technologies, Inc glink slatecom transport +driver, a slatecom-spi based communication channel for sending data between the +various subsystems in Qualcomm Technologies, Inc platforms. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,glink-slatecom-xprt" + +- label: + Usage: required + Value type: + Definition: must be "slate" + += EXAMPLE + +The following example reprsents a glink_slatecom node. + + qcom,glink-slatecom-xprt-slate { + compatible = "qcom,glink-slatecom-xprt"; + label = "slate"; + }; + += AUDIO_CC_IPC_NODE +Each subnode of the glink_slatecom_xprt is a device node exposed to user space +by the audio-cc-ipc driver for sending ipc packets between the ipc clients. +Maximum nodes supported is 2. +- Each node defined should contain following property + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,audio_cc_ipc" + +- qcom,glink-channels: + Usage: required + Value type: + +- reg: + Usage: required + Value type: + +- cdev_name: + Usage: required + Value type: + += CC_CODEC_NODE +Audio_cc_ipc nodes can have a cc_codec child node. This node will act as an +interface for proxy codec, to manage the communication to its counter part +through ipc. +- Each node defined should contain following property + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,cc-codec" + += EXAMPLE +The following example represents the audio-cc-ipc node having a codec child node + + audio_ipc1: qcom,audio_cc_ipc1 { + compatible = "qcom,audio_cc_ipc"; + qcom,glink-channels = "custom_cc_apps"; + qcom,intents = <0x2000 2>; + reg = ; + cdev_name = "nongpr_channel"; + + cc_codec: qcom,cc-codec { + compatible = "qcom, cc-codec"; + }; + }; + +