Re: [RFC][PATCH] ASoC: add simple-graph-card document

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

 



Hi Rob

Rob, can you agree about below Single/Multi OF-graph binding ?
If these are OK, I will fix to it.

> > If my understanding was correct, do you mean like below ?
> 
> Yes, exactly.
> 
> > 	cpu: cpu {
> > 		...
> > 		cpu_port: port {
> > 			cpu_out: endpoint {
> > 				remote-endpoint = <&codec_in>;
> > 			};
> > 		};
> > 	};
> > 
> > 	codec: codec {
> > 		...
> > 		codec_port: port {
> > 			codec_in: endpoint {
> > 				remote-endpoint = <&cpu_out>;
> > 			};
> > 		};
> > 	};
> > 
> > 	card {
> > 		compatible = "asoc-simple-graph-card";
> > 
> > 		dais = <&cpu_port>;
> > 	};
> > 
> > If so, I want Multi DAI like this
> > 
> > 	cpu: cpu {
> > 		...
> > 		ports {
> > 			cpu0_port: port {
> > 				cpu0_out: endpoint {
> > 					remote-endpoint = <&codec0_in>;
> > 				};
> > 			};
> > 			cpu1_port: port {
> > 				cpu1_out: endpoint {
> > 					remote-endpoint = <&codec1_in>;
> > 				};
> > 			};
> > 		};
> > 	};
> > 
> > 	codec0: codec@0 {
> > 		...
> > 		codec0_port: port {
> > 			codec0_in: endpoint {
> > 				remote-endpoint = <&cpu0_out>;
> > 			};
> > 		};
> > 	};
> > 
> > 	codec1: codec@1 {
> > 		...
> > 		codec1_port: port {
> > 			codec1_in: endpoint {
> > 				remote-endpoint = <&cpu1_out>;
> > 			};
> > 		};
> > 	};
> > 
> > 	card {
> > 		compatible = "asoc-simple-graph-card";
> > 
> > 		dais = <&cpu0_port
> > 			&cpu1_port>;
> > 	};

Best regards
---
Kuninori Morimoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



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

  Powered by Linux