Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Bard Liao <bardliao@realtek.com>
Cc: Oder Chiou <oder_chiou@realtek.com>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"lars@metafoo.de" <lars@metafoo.de>,
	"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
	Gustaw Lewandowski <gustaw.lewandowski@intel.com>,
	Flove <flove@realtek.com>
Subject: Re: [PATCH v6] ASoC: add RT286 CODEC driver
Date: Wed, 16 Apr 2014 22:11:45 +0100	[thread overview]
Message-ID: <20140416211145.GC12304@sirena.org.uk> (raw)
In-Reply-To: <ABFD875FF5FB574BA706497D987D48D73AC302@RTITMBSV03.realtek.com.tw>


[-- Attachment #1.1: Type: text/plain, Size: 891 bytes --]

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.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2014-04-16 21:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14  5:59 [PATCH v6] ASoC: add RT286 CODEC driver bardliao
2014-04-15 12:04 ` Mark Brown
2014-04-16 13:26   ` Bard Liao
2014-04-16 21:11     ` Mark Brown [this message]
2014-04-17  5:39       ` Bard Liao
2014-04-18 10:37         ` Mark Brown
2014-05-06 12:04           ` Bard Liao
2014-05-07 17:21             ` Mark Brown
2014-05-07 17:46               ` Lars-Peter Clausen
2014-05-07 18:07                 ` Mark Brown
2014-05-07 18:21                   ` Lars-Peter Clausen
2014-05-07 19:49                     ` Mark Brown
2014-05-08  7:05                       ` Lars-Peter Clausen
2014-05-08  8:00                         ` Mark Brown
2014-05-08  8:57                           ` Lars-Peter Clausen
2014-05-12 11:08                             ` Bard Liao
2014-05-12 14:51                               ` Lars-Peter Clausen
2014-05-12 20:29                             ` Mark Brown
2014-06-04 12:08                               ` Bard Liao
2014-06-04 12:37                                 ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140416211145.GC12304@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=bardliao@realtek.com \
    --cc=flove@realtek.com \
    --cc=gustaw.lewandowski@intel.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=oder_chiou@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox