Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1372544 > unrolled thread

Re: [PATCH] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver

Started byPC Liao <pc.liao@mediatek.com>
First post2016-04-06 16:00 +0200
Last post2016-04-06 19:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine  driver PC Liao <pc.liao@mediatek.com> - 2016-04-06 16:00 +0200
    Re: [PATCH] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine  driver Mark Brown <broonie@kernel.org> - 2016-04-06 19:20 +0200

#1372544 — Re: [PATCH] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver

FromPC Liao <pc.liao@mediatek.com>
Date2016-04-06 16:00 +0200
SubjectRe: [PATCH] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver
Message-ID<rkW9Z-4Fb-17@gated-at.bofh.it>
Hi Mark,

On Sun, 2016-04-03 at 01:04 +0800, Mark Brown wrote:
> On Fri, Apr 01, 2016 at 10:50:52AM +0800, PC Liao wrote:
> > On Wed, 2016-03-30 at 00:07 +0800, Mark Brown wrote:
> 
> > > This sort of arrangement is very common - it's often needed to get
> > > different sample rates for playback and capture.  Normally it'd be
> > > represented in the DT by having the two DAI links specified normally and
> > > then having the driver look at the DT to see what's connected to work
> > > out what mode to use.
> 
> > Could you please suggest the reference driver about this?
> 
> Any driver that can identify an individual DAI within a device by using
> sound-dai references, even simple-card does this.

Thanks for suggestion.
This machine driver is based on DPCM.
Should I add BE DAI and use DAPM, then using ucm-config(mixer control)
to control the path?
Or, do I think the wrong direction?
Thanks!

[toc] | [next] | [standalone]


#1372675

FromMark Brown <broonie@kernel.org>
Date2016-04-06 19:20 +0200
Message-ID<rkZhw-7gt-13@gated-at.bofh.it>
In reply to#1372544

[Multipart message — attachments visible in raw view] — view raw

On Wed, Apr 06, 2016 at 09:58:25PM +0800, PC Liao wrote:
> On Sun, 2016-04-03 at 01:04 +0800, Mark Brown wrote:

> > Any driver that can identify an individual DAI within a device by using
> > sound-dai references, even simple-card does this.

> Thanks for suggestion.
> This machine driver is based on DPCM.
> Should I add BE DAI and use DAPM, then using ucm-config(mixer control)
> to control the path?
> Or, do I think the wrong direction?
> Thanks!

It sounds like the configuration is fixed in these systems and can't
be usefully varied at runtime?  If that's the case then there's no need
for a userspace control.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web