From: mad_soft@inbox.ru (Dmitry Artamonow)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/3] ASoC: add support for audio on iPaq hx4700
Date: Wed, 18 May 2011 19:25:08 +0400 [thread overview]
Message-ID: <1305732311-17639-1-git-send-email-mad_soft@inbox.ru> (raw)
Ok, here's another version of patches adding audio support for good ole
iPAQ hx4700. It took a bit faster to make v3 than I expected, so here is it.
Previous versions can be found here:
https://lkml.org/lkml/2010/11/20/50 (v1)
https://lkml.org/lkml/2011/5/16/462 (v2)
This patchset is based on 'for-next' branch of Mark's ASoC git tree
(fetched today), also applies cleanly on linux-next-20110518.
Lightly tested on real hardware - playback/recording/mixer seem to work
without any glitches.
Changes v2 -> v3
* data based init is now used in codec and machine audio driver
for DAPM and controls
* machine audio driver now is a proper platform driver, instantiating
sound card with snd_soc_register_card()
* platform code registers corresponding platform_device for machine audio driver
* ak4641_sync() is dropped in favour of snd_soc_cache_sync()
* snd_soc_update_bits() is used instead of snd_soc_read()/update/snd_soc_write()
sequences. Also return value of snd_soc_update_bits is propagated further
for catching errors (previously result of snd_soc_write wasn't checked)
* gpio_request_array is used now in machine audio driver
* some other minor cleanup in the couple of places
Dmitry Artamonow (3):
ASoC: Asahi Kasei AK4641 codec driver
ASoC: add iPAQ hx4700 machine driver
pxa/hx4700: add platform device and I2C info for AK4641 codec
arch/arm/mach-pxa/hx4700.c | 25 ++
arch/arm/mach-pxa/include/mach/hx4700.h | 4 +-
include/sound/ak4641.h | 26 ++
sound/soc/codecs/Kconfig | 4 +
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/ak4641.c | 664 +++++++++++++++++++++++++++++++
sound/soc/codecs/ak4641.h | 47 +++
sound/soc/pxa/Kconfig | 9 +
sound/soc/pxa/Makefile | 2 +
sound/soc/pxa/hx4700.c | 255 ++++++++++++
10 files changed, 1036 insertions(+), 2 deletions(-)
create mode 100644 include/sound/ak4641.h
create mode 100644 sound/soc/codecs/ak4641.c
create mode 100644 sound/soc/codecs/ak4641.h
create mode 100644 sound/soc/pxa/hx4700.c
--
1.7.4.rc3
next reply other threads:[~2011-05-18 15:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 15:25 Dmitry Artamonow [this message]
2011-05-18 15:25 ` [PATCH v3 1/3] ASoC: Asahi Kasei AK4641 codec driver Dmitry Artamonow
2011-05-18 15:25 ` [PATCH v3 2/3] ASoC: add iPAQ hx4700 machine driver Dmitry Artamonow
2011-05-18 15:25 ` [PATCH v3 3/3] pxa/hx4700: add platform device and I2C info for AK4641 codec Dmitry Artamonow
2011-05-24 9:35 ` [alsa-devel] " Dmitry Artamonow
2011-05-19 11:11 ` [alsa-devel] [PATCH v3 0/3] ASoC: add support for audio on iPaq hx4700 Liam Girdwood
2011-05-19 21:14 ` 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=1305732311-17639-1-git-send-email-mad_soft@inbox.ru \
--to=mad_soft@inbox.ru \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).