alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* simle-card DT style for DPCM
@ 2014-09-01  0:35 Kuninori Morimoto
  2014-09-01 14:30 ` Mark Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Kuninori Morimoto @ 2014-09-01  0:35 UTC (permalink / raw)
  To: Mark Brown, Lars-Peter Clausen; +Cc: Linux-ALSA, Kuninori Morimoto


Hi Mark, Lars

I want to add DPCM support on simle-card driver.
1st reason is for "sampling-rate-convert".
And, 2nd reason, our customer want to use 2 cpu 1 codec style.

It works in my local environment.
but, I need to know what is the good style for DT.

I guss Xiubo's clean up patch seems good for me,
so, below approach is based on his style.
What do you think this ?

-- normal style --
sound {
	compatible = "simple-audio-card";
	...

	simple-audio-card,dai-link {
		...
		cpu {
			...
		};
		codec {
			...
		};
	}
}

-- use DPCM for sampling-rate-convert --
sound {
	compatible = "simple-audio-card";
	...

	simple-audio-card,dai-link {
		...
		cpu {
			...
		};
		codec {
			...
			fixed-sampling-rate = <xxx>;
		};
	}
}

	FE-cpu   : cpu
        FE-codec : dummy

        BE-cpu   : dummy
        BE-codec : codec

-- use DPCM for multi DAI --
sound {
	compatible = "simple-audio-card";
	...

	simple-audio-card,dai-link {
		...
		cpu@0 {
			...
		};
		cpu@1 {
			...
		};
		codec@1 {
			...
		};
	}
}

	FE-cpu   : cpu@0
        FE-codec : dummy

        BE-cpu   : cpu@1
        BE-codec : codec@1

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-09-10  0:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01  0:35 simle-card DT style for DPCM Kuninori Morimoto
2014-09-01 14:30 ` Mark Brown
2014-09-02  1:28   ` Kuninori Morimoto
2014-09-02 11:34     ` Mark Brown
2014-09-03  0:11       ` Kuninori Morimoto
2014-09-05 15:55         ` Mark Brown
2014-09-08  0:20           ` Kuninori Morimoto
2014-09-08  7:39             ` Lars-Peter Clausen
2014-09-08  8:50               ` Kuninori Morimoto
2014-09-09 11:51                 ` Mark Brown
2014-09-10  0:18                   ` Kuninori Morimoto
2014-09-03  5:17   ` Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).