mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	Lars-Peter Clausen <lars@metafoo.de>
Subject: [PATCH 0/4] ASoC: AC'97 regmap support and conversion
Date: Tue, 18 Nov 2014 19:45:50 +0100	[thread overview]
Message-ID: <1416336354-32148-1-git-send-email-lars@metafoo.de> (raw)

This series contains the final pieces for the AC'97 conversion to regmap.
The first patch adds a regmap backend for AC'97 devices that will use the
AC'97 bus of the device to perform reads and writes. The second patch adds a
bit of plumbing to the ASoC framework that it makes it possible to assign a
regmap instance to ASoC CODEC (or component) after it has been registered.
This is necessary since for AC'97 drivers we allocate the AC'97 device in
the CODEC drivers probe callback. For now the series only converts the
ad1980 driver, others might follow later.

- Lars 

Lars-Peter Clausen (3):
  ASoC: Add helper functions for deferred regmap setup
  ASoC: ad1980: Convert to regmap
  ASoC: ad1980: Remove ac97_read/ac97_write wrappers

Mark Brown (1):
  regmap: ac97: Add generic AC'97 callbacks

 drivers/base/regmap/Kconfig       |   5 +-
 drivers/base/regmap/Makefile      |   1 +
 drivers/base/regmap/regmap-ac97.c | 114 +++++++++++++++++++++++++
 include/linux/regmap.h            |   7 ++
 include/sound/soc.h               |  35 ++++++++
 sound/soc/codecs/Kconfig          |   1 +
 sound/soc/codecs/ad1980.c         | 173 +++++++++++++++++++++-----------------
 sound/soc/soc-core.c              |  58 ++++++++++---
 8 files changed, 306 insertions(+), 88 deletions(-)
 create mode 100644 drivers/base/regmap/regmap-ac97.c

-- 
1.8.0


             reply	other threads:[~2014-11-18 18:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 18:45 Lars-Peter Clausen [this message]
2014-11-18 18:45 ` [PATCH 1/4] regmap: ac97: Add generic AC'97 callbacks Lars-Peter Clausen
2014-11-19 10:24   ` [alsa-devel] " Lars-Peter Clausen
2014-11-19 10:37   ` Mark Brown
2014-11-18 18:45 ` [PATCH 2/4] ASoC: Add helper functions for deferred regmap setup Lars-Peter Clausen
2014-11-19 10:46   ` Mark Brown
2014-11-18 18:45 ` [PATCH 3/4] ASoC: ad1980: Convert to regmap Lars-Peter Clausen
2014-11-19 10:49   ` Mark Brown
2014-11-18 18:45 ` [PATCH 4/4] ASoC: ad1980: Remove ac97_read/ac97_write wrappers Lars-Peter Clausen
2014-11-19 10:49   ` 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=1416336354-32148-1-git-send-email-lars@metafoo.de \
    --to=lars@metafoo.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®