From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolin Chen Subject: Re: [PATCH 2/2] ASoC: fsl: add imx-ssm2603 machine driver Date: Thu, 30 Jan 2014 13:46:29 +0800 Message-ID: <20140130054626.GA2405@MrMyself> References: <1391014047-22816-1-git-send-email-p.zabel@pengutronix.de> <1391014047-22816-2-git-send-email-p.zabel@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from va3outboundpool.messaging.microsoft.com (va3ehsobe004.messaging.microsoft.com [216.32.180.14]) by alsa0.perex.cz (Postfix) with ESMTP id E39722652F8 for ; Thu, 30 Jan 2014 06:46:42 +0100 (CET) Content-Disposition: inline In-Reply-To: <1391014047-22816-2-git-send-email-p.zabel@pengutronix.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Philipp Zabel Cc: Fabio Estevam , alsa-devel@alsa-project.org, Nicolin Chen , Mark Brown , kernel@pengutronix.de, Shawn Guo List-Id: alsa-devel@alsa-project.org Hi Philipp, On Wed, Jan 29, 2014 at 05:47:27PM +0100, Philipp Zabel wrote: > This adds support for i.MX boards with Analog Devices SSM2603 codecs > connected via I2S with separate Tx and Rx clocks. > > Signed-off-by: Philipp Zabel > --- > sound/soc/fsl/Kconfig | 12 +++ > sound/soc/fsl/Makefile | 2 + > sound/soc/fsl/imx-ssm2603.c | 239 ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 253 insertions(+) > create mode 100644 sound/soc/fsl/imx-ssm2603.c > > diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig > index b7ab71f..8a4ff4e 100644 > --- a/sound/soc/fsl/Kconfig > +++ b/sound/soc/fsl/Kconfig > @@ -212,4 +212,16 @@ config SND_SOC_IMX_MC13783 > select SND_SOC_MC13783 > select SND_SOC_IMX_PCM_DMA > > +config SND_SOC_IMX_SSM2603 > + tristate "SoC Audio support for i.MX boards with ssm2603" > + depends on OF && I2C > + select SND_SOC_SSM2602 > + select SND_SOC_IMX_PCM_DMA > + select SND_SOC_IMX_AUDMUX > + select SND_SOC_FSL_SSI > + select SND_SOC_FSL_UTILS Not sure if this UTILS is essential... > +static int imx_ssm2603_probe(struct platform_device *pdev) > +{ > + ret = snd_soc_register_card(&data->card); devm_ might be better? Best regards, Nicolin Chen