public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ASoC: sun8i-codec: Clean-up
@ 2017-02-10  9:41 Mylène Josserand
  2017-02-10  9:41 ` [PATCH 1/4] ASoC: sun8i-codec: Remove analog "HP" widget Mylène Josserand
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Mylène Josserand @ 2017-02-10  9:41 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

Thanks to Chen-Yu's review [1], here are some patches to clean-up
my sun8i A33 audio driver.

Patches tested on asoc/for-next branch with additionnal patches
to apply before:
https://patchwork.kernel.org/patch/9447631/
https://patchwork.kernel.org/patch/9423999/
https://patchwork.kernel.org/patch/9521121/
https://www.spinics.net/lists/arm-kernel/msg560091.html

Patch 1: Removes the HP widget which is available in the analog part.

Patch 2: Update the driver to use SOC_DAPM_DOUBLE and rename the
controls accordingly.

Patch 3: Convert SND_SOC_DAPM_MIXER to SOC_MIXER_ARRAY.

Patch 3: Convert SND_SOC_DAPM_DAC to SND_SOC_DAPM_AIF_IN definition.

The last Chen Yu's comments are still in progress (ie use of
set_pll and set_sysclk and reworking the audio route).

After this series, amixer commands to test an audio file:
	amixer set 'Headphone' 75%
	amixer set 'Headphone' on
	amixer set 'DAC' on
	amixer set 'AIF1 Slot 0 Digital DAC' on

[1] https://lkml.org/lkml/2017/2/7/103

Thank you in advance,
Best regards,

Myl?ne Josserand (4):
  ASoC: sun8i-codec: Remove analog "HP" widget
  ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE
  ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY
  ASoC: sun8i-codec: Convert to use SND_SOC_DAPM_AIF_IN

 arch/arm/boot/dts/sun8i-a33.dtsi |  4 +--
 sound/soc/sunxi/sun8i-codec.c    | 65 +++++++++++++++++-----------------------
 2 files changed, 30 insertions(+), 39 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2017-03-21 18:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10  9:41 [PATCH 0/4] ASoC: sun8i-codec: Clean-up Mylène Josserand
2017-02-10  9:41 ` [PATCH 1/4] ASoC: sun8i-codec: Remove analog "HP" widget Mylène Josserand
2017-02-12  6:38   ` Chen-Yu Tsai
2017-03-08 13:22   ` Applied "ASoC: sun8i-codec: Remove analog "HP" widget" to the asoc tree Mark Brown
2017-03-21 18:45   ` Mark Brown
2017-02-10  9:41 ` [PATCH 2/4] ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE Mylène Josserand
2017-02-12  6:39   ` Chen-Yu Tsai
2017-03-08 13:22   ` Applied "ASoC: sun8i-codec: Update mixer to use SOC_DAPM_DOUBLE" to the asoc tree Mark Brown
2017-03-14  4:31     ` Chen-Yu Tsai
2017-03-15 13:43       ` Mark Brown
2017-03-15 14:15         ` Chen-Yu Tsai
2017-03-16 14:06           ` Mark Brown
2017-03-17  8:13             ` Mylene Josserand
2017-03-21 18:45   ` Mark Brown
2017-02-10  9:41 ` [PATCH 3/4] ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY Mylène Josserand
2017-02-12  6:40   ` Chen-Yu Tsai
2017-03-08 13:22   ` Applied "ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY" to the asoc tree Mark Brown
2017-02-10  9:41 ` [PATCH 4/4] ASoC: sun8i-codec: Convert to use SND_SOC_DAPM_AIF_IN Mylène Josserand
2017-03-06  9:56   ` Chen-Yu Tsai
2017-03-09  8:20     ` Mylene Josserand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox