Re: [alsa-devel] [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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux