From mboxrd@z Thu Jan 1 00:00:00 1970 From: koro.chen@mediatek.com (Koro Chen) Date: Mon, 4 May 2015 09:57:19 +0800 Subject: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver In-Reply-To: <20150430201207.GK22845@sirena.org.uk> References: <1428653649-38200-1-git-send-email-koro.chen@mediatek.com> <1428653649-38200-2-git-send-email-koro.chen@mediatek.com> <20150418173407.GE26185@sirena.org.uk> <20150420043747.GH6325@pengutronix.de> <20150420204849.GJ14892@sirena.org.uk> <1429672640.14162.55.camel@mtksdaap41> <20150430201207.GK22845@sirena.org.uk> Message-ID: <1430704639.4497.6.camel@mtksdaap41> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, 2015-04-30 at 21:12 +0100, Mark Brown wrote: > On Wed, Apr 22, 2015 at 11:17:20AM +0800, Koro Chen wrote: > > > If using DPCM, it seems the most suitable FE DAIs will be memif, and > > external interface like I2S should be BE DAIs. Do you think it is > > suitable for our memif to be FE DAIs? Then which memif to used can be > > described in a machine driver's FE DAIs. But I think this has a problem > > that our memif is one-direction, playback or capture. So the binded pcm > > device cannot have playback and capture capability together. May it > > cause trouble for user space apps that assumes there will be pcmC0D0p, > > pcmC0D0c? > > I think the only userspace application you really have to worry about > here is PulseAudio which (at least with UCM) should be able to cope > since it needs to handle things like USB microphones. I think > everything else I can think of can either cope or has to handle the same > use cases as PulseAudio does so should have support. Thank you very much for the feedback, I will try DPCM.