Loading bindings/soc/qcom/qcom,glink-slatecom-xprt.txt +49 −0 Original line number Diff line number Diff line Loading @@ -22,3 +22,52 @@ The following example reprsents a glink_slatecom node. 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: <stringlist> Definition: must be "qcom,audio_cc_ipc" - qcom,glink-channels: Usage: required Value type: <stringlist> - reg: Usage: required Value type: <u32> - cdev_name: Usage: required Value type: <stringlist> = 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: <stringlist> 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 = <GPR_DOMAIN_ADSP>; cdev_name = "nongpr_channel"; cc_codec: qcom,cc-codec { compatible = "qcom, cc-codec"; }; }; qcom/slate.dtsi +22 −0 Original line number Diff line number Diff line #include "dt-bindings/sound/qcom,gpr.h" &soc { qupv3_se4_spi: spi@4a90000 { /* BLSP4 QUP3*/ status = "ok"; Loading Loading @@ -127,5 +129,25 @@ qcom,intents = <0x2710 2 0x3E8 2>; }; audio_ipc: qcom,audio_cc_ipc { compatible = "qcom,audio_cc_ipc"; qcom,glink-channels = "gpr_cc_apps"; qcom,intents = <0x2000 2>; reg = <GPR_DOMAIN_CC_DSP>; cdev_name = "gpr_channel"; }; audio_ipc1: qcom,audio_cc_ipc1 { compatible = "qcom,audio_cc_ipc"; qcom,glink-channels = "custom_cc_apps"; qcom,intents = <0x2000 2>; reg = <GPR_DOMAIN_CC_DSP>; cdev_name = "nongpr_channel"; cc_codec: qcom,cc-codec { compatible = "qcom,cc-codec"; }; }; }; }; Loading
bindings/soc/qcom/qcom,glink-slatecom-xprt.txt +49 −0 Original line number Diff line number Diff line Loading @@ -22,3 +22,52 @@ The following example reprsents a glink_slatecom node. 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: <stringlist> Definition: must be "qcom,audio_cc_ipc" - qcom,glink-channels: Usage: required Value type: <stringlist> - reg: Usage: required Value type: <u32> - cdev_name: Usage: required Value type: <stringlist> = 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: <stringlist> 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 = <GPR_DOMAIN_ADSP>; cdev_name = "nongpr_channel"; cc_codec: qcom,cc-codec { compatible = "qcom, cc-codec"; }; };
qcom/slate.dtsi +22 −0 Original line number Diff line number Diff line #include "dt-bindings/sound/qcom,gpr.h" &soc { qupv3_se4_spi: spi@4a90000 { /* BLSP4 QUP3*/ status = "ok"; Loading Loading @@ -127,5 +129,25 @@ qcom,intents = <0x2710 2 0x3E8 2>; }; audio_ipc: qcom,audio_cc_ipc { compatible = "qcom,audio_cc_ipc"; qcom,glink-channels = "gpr_cc_apps"; qcom,intents = <0x2000 2>; reg = <GPR_DOMAIN_CC_DSP>; cdev_name = "gpr_channel"; }; audio_ipc1: qcom,audio_cc_ipc1 { compatible = "qcom,audio_cc_ipc"; qcom,glink-channels = "custom_cc_apps"; qcom,intents = <0x2000 2>; reg = <GPR_DOMAIN_CC_DSP>; cdev_name = "nongpr_channel"; cc_codec: qcom,cc-codec { compatible = "qcom,cc-codec"; }; }; }; };