From patchwork Fri May 23 19:07:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 4235251 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 235EDBF90C for ; Fri, 23 May 2014 19:08:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52409203A0 for ; Fri, 23 May 2014 19:08:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5E3DF203B1 for ; Fri, 23 May 2014 19:08:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751704AbaEWTIe (ORCPT ); Fri, 23 May 2014 15:08:34 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:46921 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751675AbaEWTIc (ORCPT ); Fri, 23 May 2014 15:08:32 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s4NJ8SVR010232; Fri, 23 May 2014 14:08:28 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4NJ8Snq020320; Fri, 23 May 2014 14:08:28 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Fri, 23 May 2014 14:08:28 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s4NJ8RUD014276; Fri, 23 May 2014 14:08:27 -0500 From: Jyri Sarha To: , , , CC: , , , , , , Jyri Sarha Subject: [PATCH 06/13] ASoC: omap-hdmi-dai: Add platform data struct for omap-hdmi-dai driver Date: Fri, 23 May 2014 22:07:55 +0300 Message-ID: <1b85e5331518bc519021a49a1fb28d6cce303d90.1400871999.git.jsarha@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Provide the means to pass OMAPDSS HDMI resources over to omap-hdmi-dai driver when the OMAPDSS driver registers the DAI driver. Signed-off-by: Jyri Sarha --- include/sound/omap-hdmi-dai-pdata.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/sound/omap-hdmi-dai-pdata.h diff --git a/include/sound/omap-hdmi-dai-pdata.h b/include/sound/omap-hdmi-dai-pdata.h new file mode 100644 index 0000000..337c859 --- /dev/null +++ b/include/sound/omap-hdmi-dai-pdata.h @@ -0,0 +1,31 @@ +/* + * omap-hdmi-dai-pdata.h + * + * Platform data for OMAP ALSA SoC DAI driver for HDMI audio on OMAP4+ + * processors. + * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ + * Authors: 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. + * + */ + +#ifndef __OMAP_HDMI_DAI_PDATA_H__ +#define __OMAP_HDMI_DAI_PDATA_H__ + +struct omap_dss_device; + +struct asoc_omap_hdmi_dai_pdata { + struct omap_dss_device *dssdev; + dma_addr_t dma_addr; + unsigned int dma_req; +}; + +#endif