From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Ujfalusi Subject: Re: [PATCH v7 10/20] ASoC: omap-hdmi-audio: Add platform device for OMAP HDMI audio support Date: Wed, 12 Nov 2014 14:03:26 +0200 Message-ID: <54634C8E.8020509@ti.com> References: <0296c0174b951e083064f49762122a703a1ac2f9.1415786458.git.jsarha@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:39276 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751905AbaKLMDg (ORCPT ); Wed, 12 Nov 2014 07:03:36 -0500 In-Reply-To: <0296c0174b951e083064f49762122a703a1ac2f9.1415786458.git.jsarha@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Jyri Sarha , alsa-devel@alsa-project.org, linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org Cc: broonie@kernel.org, liam.r.girdwood@linux.intel.com, tomi.valkeinen@ti.com On 11/12/2014 12:49 PM, Jyri Sarha wrote: > The platform device should only be registered from OMAPDSS HDMI > driver. The platform driver registers and unregisters all ASoC > components needed for OMAP HDMI audio. >=20 > The hdmi audio driver implements cpu-dai component using the callback= s > provided by OMAPDSS and registers the component under DSS HDMI > device. Omap-pcm is registered for platform component also under DSS > HDMI device. Dummy codec is used as as codec component. The hdmi audi= o > driver implements also the card and registers it under its own > platform device. >=20 > Signed-off-by: Jyri Sarha Acked-by: Peter Ujfalusi > --- > include/sound/omap-hdmi-audio.h | 43 ++++ > sound/soc/omap/Kconfig | 15 ++ > sound/soc/omap/Makefile | 2 + > sound/soc/omap/omap-hdmi-audio.c | 407 ++++++++++++++++++++++++++++= ++++++++++ > 4 files changed, 467 insertions(+) > create mode 100644 include/sound/omap-hdmi-audio.h > create mode 100644 sound/soc/omap/omap-hdmi-audio.c >=20 > diff --git a/include/sound/omap-hdmi-audio.h b/include/sound/omap-hdm= i-audio.h > new file mode 100644 > index 0000000..afdb416 > --- /dev/null > +++ b/include/sound/omap-hdmi-audio.h > @@ -0,0 +1,43 @@ > +/* > + * hdmi-audio.c -- OMAP4+ DSS HDMI audio support library > + * > + * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti= =2Ecom > + * > + * Author: Jyri Sarha > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * version 2 as published by the Free Software Foundation. > + * > + * This program is distributed in the hope that it will be useful, b= ut > + * WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * General Public License for more details. > + * > + */ > + > +#include