Re: [alsa-devel] [RFC PATCH 2/2] ASoC: simple-card: Add documentation for force-dpcm property

2019-10-14 Thread Kuninori Morimoto


Hi

> > > > DPCM is an implementation detail of Linux (and one that we want to phase
> > > > out going forwards too), we shouldn't be putting it in the DT bindings
> > > > where it becomes an ABI.
> > 
> > > I see your point. This is way I marked the patch series as RFC. I need to 
> > > find
> > > another way to reuse simple-card as machine driver for SOF.
> > 
> > Have a look at the way the Renesas systems are using this and the audio
> > graph card - they have DPCM.
> 
> Indeed we (= Renesas) are using this as DPCM, but unfortunately
> it is not upstreamed. Using local patch.

I mean DT part.

Thank you for your help !!
Best regards
---
Kuninori Morimoto


Re: [alsa-devel] [RFC PATCH 2/2] ASoC: simple-card: Add documentation for force-dpcm property

2019-10-14 Thread Kuninori Morimoto


Hi

> > > DPCM is an implementation detail of Linux (and one that we want to phase
> > > out going forwards too), we shouldn't be putting it in the DT bindings
> > > where it becomes an ABI.
> 
> > I see your point. This is way I marked the patch series as RFC. I need to 
> > find
> > another way to reuse simple-card as machine driver for SOF.
> 
> Have a look at the way the Renesas systems are using this and the audio
> graph card - they have DPCM.

Indeed we (= Renesas) are using this as DPCM, but unfortunately
it is not upstreamed. Using local patch.

Thank you for your help !!
Best regards
---
Kuninori Morimoto


Re: [alsa-devel] [RFC PATCH 2/2] ASoC: simple-card: Add documentation for force-dpcm property

2019-10-14 Thread Mark Brown
On Mon, Oct 14, 2019 at 04:17:31PM +0300, Daniel Baluta wrote:
> On Mon, Oct 14, 2019 at 2:57 PM Mark Brown  wrote:

> > DPCM is an implementation detail of Linux (and one that we want to phase
> > out going forwards too), we shouldn't be putting it in the DT bindings
> > where it becomes an ABI.

> I see your point. This is way I marked the patch series as RFC. I need to find
> another way to reuse simple-card as machine driver for SOF.

Have a look at the way the Renesas systems are using this and the audio
graph card - they have DPCM.


signature.asc
Description: PGP signature


Re: [alsa-devel] [RFC PATCH 2/2] ASoC: simple-card: Add documentation for force-dpcm property

2019-10-14 Thread Daniel Baluta
On Mon, Oct 14, 2019 at 2:57 PM Mark Brown  wrote:
>
> On Sun, Oct 13, 2019 at 10:00:14PM +0300, Daniel Baluta wrote:
>
> > This property can be global in which case all links created will be DPCM
> > or present in certian dai-link subnode in which case only that specific
> > link is forced to be DPCM.
>
> > +- force-dpcm : Indicates dai-link is always DPCM.
>
> DPCM is an implementation detail of Linux (and one that we want to phase
> out going forwards too), we shouldn't be putting it in the DT bindings
> where it becomes an ABI.

Hi Mark,

I see your point. This is way I marked the patch series as RFC. I need to find
another way to reuse simple-card as machine driver for SOF.

thanks,
Daniel.