[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v67yFx1VxGFWQk-Z9V=BQN0kfj1YJWfqb5RCNRUwVWrjbA@mail.gmail.com>
Date: Tue, 6 Sep 2016 11:29:52 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: Danny Milosavljevic <dannym@...atchpost.org>
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>,
Mark Brown <broonie@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Linux-ALSA <alsa-devel@...a-project.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-sunxi <linux-sunxi@...glegroups.com>
Subject: Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i
On Tue, Sep 6, 2016 at 3:24 AM, Danny Milosavljevic
<dannym@...atchpost.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@...atchpost.org>
Acked-by: Chen-Yu Tsai <wens@...e.org>
Powered by blists - more mailing lists