Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1426849

[PATCH v2 0/5] ASoC: tpa6130a2: Add support for multiple instances

From Helen Koike <helen.koike@collabora.co.uk>
Newsgroups linux.kernel
Subject [PATCH v2 0/5] ASoC: tpa6130a2: Add support for multiple instances
Date 2016-06-20 19:30 +0200
Message-ID <rMb1E-2DX-49@gated-at.bofh.it> (permalink)
References <rLlZ7-2TL-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The current tpa6130a2 driver supports only a single instance.
This patch series add support for multiple instances by removing the global
variable that holds the instance.
This is performed by using the component API, regmap, the
snd_soc_{info,put,get}_volsw API and DAPM.

This patch series also touches code from the Nokia RX51 which I didn't tested (as
I am testing the tpa6130a2 in another board that is not upstream).
I would appreciate is if someone who possesses the Nokia RX51 (n900) could please
test the code.

This patch series is based on git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Available at https://git.collabora.com/cgit/user/koike/linux.git/log/?h=sound/review/tpa6130a2

Helen Koike (5):
  ASoC: tpa6130a2: Register component
  ASoC: tap6130a2: Use regmap
  ASoC: tpa6130a2: Use snd soc volsw functions
  ASoC: tpa6130a2: Add DAPM support
  ASoC: tpa6130a2: Remove goto err_gpio

 sound/soc/codecs/tpa6130a2.c | 393 ++++++++++++-------------------------------
 sound/soc/codecs/tpa6130a2.h |  14 +-
 sound/soc/omap/rx51.c        |  46 ++---
 3 files changed, 136 insertions(+), 317 deletions(-)


Changes since v1:
  ASoC: tpa6130a2: Register component
	- Remove prefix from snd_kcontrol_new in tpa6130a2.c
	- Add tested-by and reviewd-by from Sebastian
  ASoC: tap6130a2: Use regmap
	- Add tested-by from Sebastian
  ASoC: tpa6130a2: Use snd soc volsw functions
	- Add tested-by from Sebastian
  ASoC: tpa6130a2: Add DAPM support
	- Replace
		+	{"TPA6130A2 HPLEFT", NULL, "LLOUT"},
		+	{"TPA6130A2 HPRIGHT", NULL, "RLOUT"}
	
		by
	
		+       {"TPA6130A2 LEFTIN", NULL, "LLOUT"},
		+       {"TPA6130A2 RIGHTIN", NULL, "RLOUT"},
	- Add tested-by and reviewed-by from Sebastian
	- Add struct device dev* in struct tpa6130a2_data and pass data instead
	of dev to tpa6130a2_power function
	- remove #include "../codecs/tpa6130a2.h" in rx51.c
  ASoC: tpa6130a2: Remove goto err_gpio
	- this is a new patch in the series
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] ASoC: tpa6130a2: Add support for multiple instances Helen Koike <helen.koike@collabora.co.uk> - 2016-06-18 05:40 +0200
  [PATCH 3/4] ASoC: tpa6130a2: Use snd soc volsw functions Helen Koike <helen.koike@collabora.co.uk> - 2016-06-18 05:40 +0200
    Re: [PATCH 3/4] ASoC: tpa6130a2: Use snd soc volsw functions Sebastian Reichel <sre@kernel.org> - 2016-06-19 00:40 +0200
  Re: [PATCH 0/4] ASoC: tpa6130a2: Add support for multiple instances Sebastian Reichel <sre@kernel.org> - 2016-06-18 12:50 +0200
    Re: [PATCH 0/4] ASoC: tpa6130a2: Add support for multiple instances Sebastian Reichel <sre@kernel.org> - 2016-06-18 23:40 +0200
    [PATCH v2 5/5] ASoC: tpa6130a2: Remove goto err_gpio Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 19:20 +0200
      Re: [PATCH v2 5/5] ASoC: tpa6130a2: Remove goto err_gpio Sebastian Reichel <sre@kernel.org> - 2016-06-21 03:50 +0200
    [PATCH v2 3/5] ASoC: tpa6130a2: Use snd soc volsw functions Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 19:30 +0200
      Re: [PATCH v2 3/5] ASoC: tpa6130a2: Use snd soc volsw functions Sebastian Reichel <sre@kernel.org> - 2016-06-21 03:50 +0200
      Applied "ASoC: tpa6130a2: Use snd soc volsw functions" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-06-23 16:40 +0200
    [PATCH v2 4/5] ASoC: tpa6130a2: Add DAPM support Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 19:30 +0200
      Re: [PATCH v2 4/5] ASoC: tpa6130a2: Add DAPM support Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 21:10 +0200
        Re: [PATCH v2 4/5] ASoC: tpa6130a2: Add DAPM support Sebastian Reichel <sre@kernel.org> - 2016-06-21 03:50 +0200
      Re: [PATCH v2 4/5] ASoC: tpa6130a2: Add DAPM support Lars-Peter Clausen <lars@metafoo.de> - 2016-06-20 21:50 +0200
        Re: [PATCH v2 4/5] ASoC: tpa6130a2: Add DAPM support Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 22:20 +0200
    [PATCH v2 1/5] ASoC: tpa6130a2: Register component Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 19:30 +0200
      Applied "ASoC: tpa6130a2: Register component" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-06-23 16:40 +0200
    [PATCH v2 0/5] ASoC: tpa6130a2: Add support for multiple instances Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 19:30 +0200
      [PATCH v2 2/5] ASoC: tap6130a2: Use regmap Helen Koike <helen.koike@collabora.co.uk> - 2016-06-20 19:30 +0200
        Re: [PATCH v2 2/5] ASoC: tap6130a2: Use regmap Sebastian Reichel <sre@kernel.org> - 2016-06-21 03:50 +0200
  Re: [PATCH 0/4] ASoC: tpa6130a2: Add support for multiple instances Sebastian Reichel <sre@kernel.org> - 2016-06-19 22:20 +0200

csiph-web