From: Maxime Ripard Subject: Re: [PATCH v5 0/3] ASoC: sun4i-codec: Distinguish sun4i from sun7i Date: Thu, 22 Sep 2016 11:31:23 +0300 Message-ID: <20160922083123.GN8719@lukather> References: <20160922071313.12891-1-dannym@scratchpost.org> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EvPGq5x6n2a0k3dQ" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20160922071313.12891-1-dannym-bxPqe3T81XXwRsdMLXbzog@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Danny Milosavljevic Cc: Mark Brown , Chen-Yu Tsai , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, Jaroslav Kysela , Takashi Iwai , Liam Girdwood , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: alsa-devel@alsa-project.org --EvPGq5x6n2a0k3dQ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Hi, On Thu, Sep 22, 2016 at 09:13:10AM +0200, Danny Milosavljevic wrote: > ASoC: sun4i-codec: 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. Usually, you would set the history of changes from one version to the other here. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --EvPGq5x6n2a0k3dQ--