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


Groups > linux.kernel > #1477048

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

From Chen-Yu Tsai <wens@csie.org>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i
Date 2016-09-06 05:40 +0200
Message-ID <sefoR-4Nx-5@gated-at.bofh.it> (permalink)
References <se7KF-83d-3@gated-at.bofh.it> <se7KF-83d-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 6, 2016 at 3:24 AM, Danny Milosavljevic
<dannym@scratchpost.org> wrote:
> ASoC: sun4i-codec: Distinguish sun4i from sun7i
>
> Introduce mechanism to detect sun7i and provide a different regmap, codec
> and different controls for it - 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 the mic gains are in
> 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.
>
> Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>

Acked-by: Chen-Yu Tsai <wens@csie.org>

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


Thread

[PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i Danny Milosavljevic <dannym@scratchpost.org> - 2016-09-05 21:30 +0200
  Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i Chen-Yu Tsai <wens@csie.org> - 2016-09-06 05:40 +0200
  Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i Maxime Ripard <maxime.ripard@free-electrons.com> - 2016-09-06 08:40 +0200
  Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i Mark Brown <broonie@kernel.org> - 2016-09-06 12:40 +0200

csiph-web