From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752130AbcA2Fvx (ORCPT ); Fri, 29 Jan 2016 00:51:53 -0500 Received: from mail.karo-electronics.de ([81.173.242.67]:57456 "EHLO mail.karo-electronics.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbcA2Fvw convert rfc822-to-8bit (ORCPT ); Fri, 29 Jan 2016 00:51:52 -0500 Date: Fri, 29 Jan 2016 06:51:33 +0100 From: Lothar =?UTF-8?B?V2HDn21hbm4=?= To: Nicolin Chen Cc: Mark Brown , Arnd Bergmann , Fabio Estevam , Jaroslav Kysela , Liam Girdwood , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: fsl: select SND_SOC_FSL_SAI or SND_SOC_FSL_SSI depending on SoC type Message-ID: <20160129065133.7338cf2c@ipc1.ka-ro> In-Reply-To: <20160128230846.GA32388@Asurada-Nvidia> References: <1453293038-16032-1-git-send-email-LW@KARO-electronics.de> <20160128223352.GB4130@sirena.org.uk> <20160128230846.GA32388@Asurada-Nvidia> Organization: Ka-Ro electronics GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, 28 Jan 2016 15:08:47 -0800 Nicolin Chen wrote: > On Thu, Jan 28, 2016 at 11:33:52PM +0100, Mark Brown wrote: > > On Wed, Jan 20, 2016 at 01:30:38PM +0100, Lothar Waßmann wrote: > > > > > - select SND_SOC_FSL_SSI > > > + select SND_SOC_FSL_SAI if SOC_IMX6UL > > > + select SND_SOC_FSL_SSI if SOC_IMX6Q || SOC_IMX6SL || SOC_IMX6SX > > > > Does this card not work for older i.MXs (which had the same SSI/AUDMUX > > combination as the majority of the i.MX6 family) as well? > > It's widely used in older i.MXs according to their DTS files. So > it should be safer to just leave SSI over here. > Nothing prevents you to enable the SSI driver on any i.MX6 module. The only change I made is to select the SAI driver instead of the SSI driver on i.MX6UL because the i.MX6UL does not have an SSI unit! > And I actually doubt the feasibility of running this driver with > i.MX6UL as there might not be an AUDMUX on i.MX6UL since it does > not have SSI any more while the driver always touches the address > space of AUDMUX which may not exist on i.MX6UL. > #define this driver The FSL_SAI driver does not touch the audmux address space in any way. The simple-card audio driver works perfectly well with the FSL_SAI driver on i.MX6UL. Lothar Waßmann