All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Barry Song <21cnbao@gmail.com>
Cc: uclinux-dist-devel@blackfin.uclinux.org, alsa-devel@alsa-project.org
Subject: Re: [PATCH 1/3] new ad1836 codec driver based on asoc
Date: Thu, 13 Aug 2009 11:00:43 +0100	[thread overview]
Message-ID: <20090813100043.GC21652@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <3c17e3570908130252n1b85f618i974b9867dbef2a5d@mail.gmail.com>

On Thu, Aug 13, 2009 at 05:52:42PM +0800, Barry Song wrote:

> Well. If all chips need this same operation, can it be abstracted to
> the soc core layer?

The details of the register cache operation are entirely in the domain
of the chip - it's not mandatory to have a register cache at all and
some devices have complex register layouts which cause problems with
doing this in a fully automated fashion.  There are also issues with
some devices having things like soft reset registers in the middle of
their register map.

That said, there is some work in this direction - see soc-cache.c.

      reply	other threads:[~2009-08-13 10:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12  4:32 [PATCH 0/3] patch sequence adds analog devices ad1836 asoc support Barry Song
2009-08-12  4:32 ` [PATCH 1/3] new ad1836 codec driver based on asoc Barry Song
2009-08-12  4:32   ` [PATCH 2/3] add set_tdm_slot in tdm dai to define the relationship between audio channel and tdm slot Barry Song
2009-08-12  4:32     ` [PATCH 3/3] new board driver to connect bfin-5xx with ad1836 codec Barry Song
2009-08-12 16:10       ` Mark Brown
2009-08-13  4:19         ` Barry Song
2009-08-12 13:56     ` [PATCH 2/3] add set_tdm_slot in tdm dai to define the relationship between audio channel and tdm slot Mark Brown
2009-08-13  4:16       ` Barry Song
2009-08-12 13:46   ` [PATCH 1/3] new ad1836 codec driver based on asoc Mark Brown
2009-08-13  3:41     ` Barry Song
2009-08-13  9:08       ` Mark Brown
2009-08-13  9:22         ` [Uclinux-dist-devel] " Mike Frysinger
2009-08-13  9:34           ` Mike Frysinger
2009-08-13  9:37         ` Barry Song
2009-08-13  9:46           ` Mark Brown
2009-08-13  9:52             ` Barry Song
2009-08-13 10:00               ` Mark Brown [this message]

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=20090813100043.GC21652@rakim.wolfsonmicro.main \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=21cnbao@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=uclinux-dist-devel@blackfin.uclinux.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.