From patchwork Sat May 18 17:12:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 2589291 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 37B963FD85 for ; Sat, 18 May 2013 22:08:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 10A8AE5DB0 for ; Sat, 18 May 2013 15:08:49 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ea0-f179.google.com (mail-ea0-f179.google.com [209.85.215.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 68AA2E5C5D for ; Sat, 18 May 2013 10:12:30 -0700 (PDT) Received: by mail-ea0-f179.google.com with SMTP id z16so3088638ead.24 for ; Sat, 18 May 2013 10:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=BMxMhFut9bQXVbUVSfnqyiTOsl3ebgodm25/bb8qqJ0=; b=S64f9btKzb88RA7Z9CS6AomaJLww8kyAJHz9vLpZDUMnauIEQc5efFw1hqcTL1KiA2 6ZU3zCCXFmoijXTYoncOTdjY8AwUsRTF48KJaQ5MSr7PKSGneVhRAt9OFn55yJq7R2DO 0U9FNZi1V4SckYIYXIWFCZ3ibHVFowb+fkGtrdsdK+3/CiXqnjFtNeKT8U5lTWa3L/jy PdWjzREWJ9efvgdzsJcJRr5o5hIGXNZ29nlgGBhvhIs5s74Nn4sC6g+vkqZ3mbDP3+dE 9dk9aAd2VIHtQ6W9lAK4nTZqBfGJ0eObLjqKtZGfCG4pt9vjWqqQYAnbDgdtXTE3JTZd 8qMw== X-Received: by 10.14.99.198 with SMTP id x46mr143985089eef.38.1368897149665; Sat, 18 May 2013 10:12:29 -0700 (PDT) Received: from topkick.lan (dslc-082-083-251-181.pools.arcor-ip.net. [82.83.251.181]) by mx.google.com with ESMTPSA id t9sm26752915eeo.11.2013.05.18.10.12.27 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 May 2013 10:12:27 -0700 (PDT) Received: from edge.lan (magicgate.lan [192.168.1.1]) by topkick.lan (Postfix) with ESMTPSA id E545A605F0; Sat, 18 May 2013 19:11:43 +0200 (CEST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [RFC 4/4] DRM: tda998x: add missing include Date: Sat, 18 May 2013 19:12:19 +0200 Message-Id: <1368897139-25485-5-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1368897139-25485-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <20130516192510.GV18614@n2100.arm.linux.org.uk> <1368897139-25485-1-git-send-email-sebastian.hesselbarth@gmail.com> X-Mailman-Approved-At: Sat, 18 May 2013 15:03:35 -0700 Cc: Jean-Francois Moine , Russell King , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Jason Cooper X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org The RFC sent by Russell King was missing an include for tda998x. This is just a compatible clone to remember Russell to add that later. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Cc: dri-devel@lists.freedesktop.org Cc: Jason Cooper Cc: Jean-Francois Moine --- include/drm/i2c/tda998x.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/drm/i2c/tda998x.h diff --git a/include/drm/i2c/tda998x.h b/include/drm/i2c/tda998x.h new file mode 100644 index 0000000..41f799f --- /dev/null +++ b/include/drm/i2c/tda998x.h @@ -0,0 +1,23 @@ +#ifndef __TDA998X_H__ +#define __TDA998X_H__ + +enum tda998x_audio_format { + AFMT_I2S, + AFMT_SPDIF, +}; + +struct tda998x_encoder_params { + int audio_cfg; + int audio_clk_cfg; + enum tda998x_audio_format audio_format; + int audio_sample_rate; + char audio_frame[6]; + int swap_a, mirr_a; + int swap_b, mirr_b; + int swap_c, mirr_c; + int swap_d, mirr_d; + int swap_e, mirr_e; + int swap_f, mirr_f; +}; + +#endif