From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 11/14] ASoC: sun4i-codec: Add support for A31 board level audio routing Date: Thu, 3 Nov 2016 09:31:16 +0100 Message-ID: <20161103083116.qj2c7yi35wbcergp@lukather> References: <20161103075556.29018-1-wens@csie.org> <20161103075556.29018-12-wens@csie.org> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mwtxos5akkwyrfhc" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20161103075556.29018-12-wens-jdAy2FN1RRM@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Chen-Yu Tsai Cc: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Rob Herring , Mark Rutland , alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --mwtxos5akkwyrfhc Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Thu, Nov 03, 2016 at 03:55:53PM +0800, Chen-Yu Tsai wrote: > The A31 SoC's codec has various inputs, outputs and microphone bias > supplies. These can be routed on the board in different ways, such as: > > - HPCOM may be connected to have the headphone DC coupled. > > - Microphones all use the MBIAS main microphone supply or one mic may > use the HBIAS supply, which supports headset detection and buttons. > > - Line Out may be routed to an audio jack, or an onboard speaker amp > with power controls. > > Add support for specifying the audio routes in the device tree. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --mwtxos5akkwyrfhc--