From mboxrd@z Thu Jan 1 00:00:00 1970 From: lrg@ti.com (Liam Girdwood) Date: Thu, 19 May 2011 12:11:34 +0100 Subject: [alsa-devel] [PATCH v3 0/3] ASoC: add support for audio on iPaq hx4700 In-Reply-To: <1305732311-17639-1-git-send-email-mad_soft@inbox.ru> References: <1305732311-17639-1-git-send-email-mad_soft@inbox.ru> Message-ID: <4DD4FAE6.3060008@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 18/05/11 16:25, Dmitry Artamonow wrote: > 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 > All Acked-by: Liam Girdwood