From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: [PATCH 3/4] ASoC: fsi-codec: Add FSI - HDMI support Date: Mon, 30 Aug 2010 10:10:03 +0100 Message-ID: <1283159403.3055.5.camel@odin> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f179.google.com (mail-ey0-f179.google.com [209.85.215.179]) by alsa0.perex.cz (Postfix) with ESMTP id 1F67A243C1 for ; Mon, 30 Aug 2010 11:10:07 +0200 (CEST) Received: by eyd9 with SMTP id 9so2967598eyd.38 for ; Mon, 30 Aug 2010 02:10:06 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Kuninori Morimoto Cc: Linux-ALSA , Paul Mundt , Mark Brown List-Id: alsa-devel@alsa-project.org On Mon, 2010-08-30 at 14:05 +0900, Kuninori Morimoto wrote: > Signed-off-by: Kuninori Morimoto > --- > sound/soc/sh/Kconfig | 7 +++++ > sound/soc/sh/Makefile | 2 + > sound/soc/sh/fsi-hdmi.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 76 insertions(+), 0 deletions(-) > create mode 100644 sound/soc/sh/fsi-hdmi.c > > diff --git a/sound/soc/sh/Kconfig b/sound/soc/sh/Kconfig > index 52d7e8e..6b224d2 100644 > --- a/sound/soc/sh/Kconfig > +++ b/sound/soc/sh/Kconfig > @@ -62,6 +62,13 @@ config SND_FSI_DA7210 > This option enables generic sound support for the > FSI - DA7210 unit > > +config SND_FSI_HDMI > + bool "FSI-HDMI sound support" > + depends on SND_SOC_SH4_FSI && FB_SH_MOBILE_HDMI > + help > + This option enables generic sound support for the > + FSI - HDMI unit > + > config SND_SIU_MIGOR > tristate "SIU sound support on Migo-R" > depends on SH_MIGOR > diff --git a/sound/soc/sh/Makefile b/sound/soc/sh/Makefile > index 8a5a192..94476d4 100644 > --- a/sound/soc/sh/Makefile > +++ b/sound/soc/sh/Makefile > @@ -16,9 +16,11 @@ obj-$(CONFIG_SND_SOC_SH4_SIU) += snd-soc-siu.o > snd-soc-sh7760-ac97-objs := sh7760-ac97.o > snd-soc-fsi-ak4642-objs := fsi-ak4642.o > snd-soc-fsi-da7210-objs := fsi-da7210.o > +snd-soc-fsi-hdmi-objs := fsi-hdmi.o > snd-soc-migor-objs := migor.o > > obj-$(CONFIG_SND_SH7760_AC97) += snd-soc-sh7760-ac97.o > obj-$(CONFIG_SND_FSI_AK4642) += snd-soc-fsi-ak4642.o > obj-$(CONFIG_SND_FSI_DA7210) += snd-soc-fsi-da7210.o > +obj-$(CONFIG_SND_FSI_HDMI) += snd-soc-fsi-hdmi.o > obj-$(CONFIG_SND_SIU_MIGOR) += snd-soc-migor.o > diff --git a/sound/soc/sh/fsi-hdmi.c b/sound/soc/sh/fsi-hdmi.c > new file mode 100644 > index 0000000..cb81b8c > --- /dev/null > +++ b/sound/soc/sh/fsi-hdmi.c > @@ -0,0 +1,67 @@ > +/* > + * FSI - HDMI sound support > + * > + * Copyright (C) 2010 Renesas Solutions Corp. > + * Kuninori Morimoto > + * > + * This file is subject to the terms and conditions of the GNU General Public > + * License. See the file "COPYING" in the main directory of this archive > + * for more details. > + */ > + > +#include > +#include > +#include