alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] ASoC: sun4i-codec: Distinguish sun4i from sun7i
@ 2016-09-15 14:39 Danny Milosavljevic
       [not found] ` <20160915143922.4890-1-dannym-bxPqe3T81XXwRsdMLXbzog@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2016-09-15 14:39 UTC (permalink / raw)
  To: Maxime Ripard, Mark Brown, Chen-Yu Tsai,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, Jaroslav Kysela, Takashi Iwai,
	Liam Girdwood, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw
  Cc: Danny Milosavljevic

Introduce mechanism to detect sun7i and provide a different regmap different compared to sun4i Allwinner A10.
 
The controls will be extended in a forthcoming patch - it is necessary to
distinguish between sun4i and sun7i controls because they have different registers.
 
Renamed SUN4I_CODEC_AC_SYS_VERI to SUN7I_CODEC_AC_DAC_CAL and renamed
SUN4I_CODEC_AC_MIC_PHONE_CAL to SUN7I_CODEC_AC_MIC_PHONE_CAL because these
are actually not present on Allwinner A10.

Handle quirks by regmap config and codec and select the correct quirks
automatically.  

Danny Milosavljevic (3):
  ASoC: sun4i-codec: rename "sun4i_codec_widgets" to
    "sun4i_codec_controls" for consistency with the struct field name.
  ASoC: rename "SUN4I_CODEC_SYS_VERI" to "SUN7I_CODEC_AC_DAC_CAL";
    rename "SUN4I_CODEC_AC_MIC_PHONE_CAL" to
    "SUN7I_CODEC_AC_MIC_PHONE_CAL".
  ASoC: sun4i-codec: Add custom regmap configs for the A10 and A20
    variants.

 sound/soc/sunxi/sun4i-codec.c | 45 ++++++++++++++++++++++++++++++++++---------
 1 file changed, 36 insertions(+), 9 deletions(-)

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

end of thread, other threads:[~2016-09-26 16:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-15 14:39 [PATCH v3 0/3] ASoC: sun4i-codec: Distinguish sun4i from sun7i Danny Milosavljevic
     [not found] ` <20160915143922.4890-1-dannym-bxPqe3T81XXwRsdMLXbzog@public.gmane.org>
2016-09-15 14:39   ` [PATCH v3 1/3] ASoC: sun4i-codec: rename "sun4i_codec_widgets" to "sun4i_codec_controls" for consistency with the struct field name Danny Milosavljevic
     [not found]     ` <20160915143922.4890-2-dannym-bxPqe3T81XXwRsdMLXbzog@public.gmane.org>
2016-09-15 15:22       ` Chen-Yu Tsai
2016-09-26 16:43     ` Applied "ASoC: sun4i-codec: Rename sun4i_codec_widgets for consistency" to the asoc tree Mark Brown
2016-09-15 14:39   ` [PATCH v3 2/3] ASoC: rename "SUN4I_CODEC_SYS_VERI" to "SUN7I_CODEC_AC_DAC_CAL"; rename "SUN4I_CODEC_AC_MIC_PHONE_CAL" to "SUN7I_CODEC_AC_MIC_PHONE_CAL" Danny Milosavljevic
     [not found]     ` <20160915143922.4890-3-dannym-bxPqe3T81XXwRsdMLXbzog@public.gmane.org>
2016-09-15 15:16       ` Chen-Yu Tsai
2016-09-25  5:58     ` Applied "ASoC: sun4i-codec: Rename some sun7i-only registers" to the asoc tree Mark Brown
2016-09-15 14:39   ` [PATCH v3 3/3] ASoC: sun4i-codec: Add custom regmap configs for the A10 and A20 variants Danny Milosavljevic
     [not found]     ` <20160915143922.4890-4-dannym-bxPqe3T81XXwRsdMLXbzog@public.gmane.org>
2016-09-15 15:19       ` Chen-Yu Tsai

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).