From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH v3 4/9] ASoC: sun4i-codec: Add support for V3s codec Date: Wed, 31 May 2017 11:56:51 -0500 Message-ID: <20170531165651.4bcmgskmspetw7cx@rob-hp-laptop> References: <20170524100607.29790-1-icenowy@aosc.io> <20170524100607.29790-5-icenowy@aosc.io> Reply-To: robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <20170524100607.29790-5-icenowy-h8G6r0blFSE@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Icenowy Zheng Cc: Vinod Koul , Maxime Ripard , Chen-Yu Tsai , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Icenowy Zheng , dmaengine-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed, May 24, 2017 at 06:06:02PM +0800, Icenowy Zheng wrote: > From: Icenowy Zheng > > The codec in the V3s is similar to the one found on the A31. One key > difference is the analog path controls are routed through the PRCM > block. This is supported by the sun8i-codec-analog driver, and tied > into this codec driver with the audio card's aux_dev. > > In addition, the V3s does not have LINEIN, LINEOUT, MBIAS and MIC2, > MIC3, and the FIFO related registers are like H3. > > Signed-off-by: Icenowy Zheng > --- > Changes in v3: > - Change regmap max register. > - Add a note for further DAP support. > > .../devicetree/bindings/sound/sun4i-codec.txt | 11 ++-- Acked-by: Rob Herring > sound/soc/sunxi/sun4i-codec.c | 63 ++++++++++++++++++++++ > 2 files changed, 70 insertions(+), 4 deletions(-)