mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
ARM: dts: qcom: add ipc and codec cdev nodes
Add audio-cc-ipc and cc-codec cdev nodes in slate.dtsi. Change-Id: I5d8a18108689ee899142002a5cd211648d72e46d
This commit is contained in:
parent
68a4dab53d
commit
589c5662eb
2 changed files with 71 additions and 0 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#include "dt-bindings/sound/qcom,gpr.h"
|
||||
|
||||
&soc {
|
||||
qupv3_se4_spi: spi@4a90000 { /* BLSP4 QUP3*/
|
||||
status = "ok"
|
||||
|
|
@ -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…
Reference in a new issue