From: Jyri Sarha Date: Fri, 15 Aug 2014 12:44:44 +0000 (+0300) Subject: ASoC: omap-hdmi-audio: Add platform device for OMAP HDMI audio support X-Git-Tag: v4.14-rc1~6338^2^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50211be80290b061a923ea7e2d36a6865a48920a;p=platform%2Fkernel%2Flinux-rpi.git ASoC: omap-hdmi-audio: Add platform device for OMAP HDMI audio support 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. The hdmi audio driver implements cpu-dai component using the callbacks 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 audio driver implements also the card and registers it under its own platform device. Signed-off-by: Jyri Sarha Acked-by: Peter Ujfalusi Reviewed-by: Mark Brown Signed-off-by: Tomi Valkeinen --- diff --git a/include/sound/omap-hdmi-audio.h b/include/sound/omap-hdmi-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.com + * + * 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, but + * 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