Re: [PATCH 0/7 v2] ASoC: merge audio-graph-scu into audio-graph - final step

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Tony Lindgren <tony@xxxxxxxxxxx> [181212 19:02]:
> Getting closer.. The DAI instances get mapped the wrong
> way around for me:

So I added reg properties to the cpcap codec end too and now I get the
mapping set right:

asoc-audio-graph-card soundcard: cpcap-hifi <-> 40124000.mcbsp mapping ok
asoc-audio-graph-card soundcard: cpcap-voice <-> 40126000.mcbsp-dai0 mapping ok
asoc-audio-graph-card soundcard: mdm-call <-> 40126000.mcbsp-dai1 mapping ok

Hmm I wonder if this will now need all the dts files updated for codecs
with multiple DAIs?

Also audio play does not work for me with these changes  it seems.. My
updated codec end snippet below.

Regards,

Tony

8< -----------------
	cpcap_audio: audio-codec {
		#sound-dai-cells = <1>;
		#address-cells = <1>;
		#size-cells = <0>;

		port@0 {
			reg = <0>;
			cpcap_audio_codec0: endpoint {
			};
		};
		port@1 {
			reg = <1>;
			cpcap_audio_codec1: endpoint {
			};
		};
	};
> 8< ---------------
> &mcbsp2 {
> 	...
>         ports {
>                 #address-cells = <1>;
>                 #size-cells = <0>;
> 
>                 mcbsp2_port: port@0 {
>                         reg = <0>;
>                         cpu_dai2: endpoint@0 {
>                                 dai-format = "i2s";
>                                 remote-endpoint = <&cpcap_audio_codec0>;
>                                 frame-master = <&cpcap_audio_codec0>;
>                                 bitclock-master = <&cpcap_audio_codec0>;
>                         };
>                 };
>         };
> };
> 
> &mcbsp3 {
> 	...
> 	ports {
> 		mcbsp3_port: port@0 {
> 			#address-cells = <1>;
> 			#size-cells = <0>;
> 
> 			cpu_dai3: endpoint@0 {
> 				reg = <0>;
> 				dai-format = "dsp_a";
> 				frame-master = <&cpcap_audio_codec1>;
> 				bitclock-master = <&cpcap_audio_codec1>;
> 				remote-endpoint = <&cpcap_audio_codec1>;
> 			};
> 			cpu_dai_mdm: endpoint@1 {
> 				reg = <1>;
> 				dai-format = "dsp_a";
> 				frame-master = <&cpcap_audio_codec1>;
> 				bitclock-master = <&cpcap_audio_codec1>;
> 				remote-endpoint = <&mot_mdm6600_audio_codec0>;
> 			};
> 		};
> 	};
> };
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux