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

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Jan 25 01:00:01 CET 2017


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 at 0 {
> > 		...
> > 		codec0_port: port {
> > 			codec0_in: endpoint {
> > 				remote-endpoint = <&cpu0_out>;
> > 			};
> > 		};
> > 	};
> > 
> > 	codec1: codec at 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


More information about the Alsa-devel mailing list