[alsa-devel] [PATCH v6] ASoC: add RT286 CODEC driver

Mark Brown broonie at kernel.org
Wed Apr 16 23:11:45 CEST 2014


On Wed, Apr 16, 2014 at 01:26:41PM +0000, Bard Liao wrote:

> > *MUST* use regmap to do this.  What's not been clear is if this device has a
> > control interface that looks enough like a register map to be implemented like one
> > but since we're just guessing based on a combination of the code and the HDA spec
> > it's not entirely clear.

> I am a little bit confused about it. I thought you told me not using regmap.
> Actually, I don't know how to use dapm without implementing register I/O.
> Can I just convert rt286_hw_read/write to regmap?

As far as we've been able to tell thus far (based on inferring stuff
from the HDA spec) you shouldn't be doing register I/O at all, the
device doesn't really have things that look enough like registers.

You can implement non-register DAPM widgets - look at the virtual
controls in the core, or things using SND_SOC_NOPM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140416/2d86505b/attachment.sig>


More information about the Alsa-devel mailing list