From patchwork Tue Jan 15 08:04:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 1975621 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by patchwork1.kernel.org (Postfix) with ESMTP id 46EA43FE33 for ; Tue, 15 Jan 2013 08:08:50 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0F84tdK031845; Tue, 15 Jan 2013 02:04:55 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0F84t5q028100; Tue, 15 Jan 2013 02:04:55 -0600 Received: from dlelxv24.itg.ti.com (172.17.1.199) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Tue, 15 Jan 2013 02:04:54 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0F84seh010129; Tue, 15 Jan 2013 02:04:54 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id BAC4C80627; Tue, 15 Jan 2013 02:04:54 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 2097F80626 for ; Tue, 15 Jan 2013 02:04:53 -0600 (CST) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id r0F84qWg018104 for ; Tue, 15 Jan 2013 02:04:52 -0600 (CST) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0F84q7s009888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Jan 2013 02:04:52 -0600 Received: from [216.82.242.131:25097] by server-8.bemta-8.messagelabs.com id 0D/FD-25265-4AD05F05; Tue, 15 Jan 2013 08:04:52 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-11.tower-76.messagelabs.com!1358237090!39463333!1 X-Originating-IP: [209.85.220.49] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG, ML_RADAR_SPEW_LINKS_14,spamassassin: X-StarScan-Received: X-StarScan-Version: 6.6.1.8; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8812 invoked from network); 15 Jan 2013 08:04:51 -0000 Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by server-11.tower-76.messagelabs.com with RC4-SHA encrypted SMTP; 15 Jan 2013 08:04:51 -0000 Received: by mail-pa0-f49.google.com with SMTP id bi1so2792041pad.36 for ; Tue, 15 Jan 2013 00:04:50 -0800 (PST) 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; bh=eYlmm0oiuAxk3dZYk1GHYfDVXM8t7IbxsmIAytuZ89Q=; b=Ym63IV3VS4a2cwNtvLNlYc/FcRW8/Xs91cxuWJkrvQbo6PNmclvXAxqeGQxxw9yPdZ 5KMM6crJXd/+9/spQ6nGCkMoy8+IwzMuZFOHFX61yCBGx5z5V37jvez3DgfVEV8o2YgN 8KPe4DVQC+ozuHSmZGd+zdxOGSWSf2rOcge32dAtCTAxN3ksBvK7z1Ew5emni3xb6VQX 3DFmcGVLrPK53JjSLjALpKwnOgNqooXwTuwvm0xFUbrAoOTEmZ/CfVIcZV62GwEh5Ee5 wZFRnKGJn9ie1Kg/d7gShIWnEWFVjdQlb9mdWvmQoA4iISAoV9dNkH/IXvKMPrl1XPbb Xtrw== X-Received: by 10.68.227.73 with SMTP id ry9mr259524124pbc.73.1358237090394; Tue, 15 Jan 2013 00:04:50 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id gj1sm9783691pbc.11.2013.01.15.00.04.46 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 15 Jan 2013 00:04:49 -0800 (PST) From: "Lad, Prabhakar" To: LAK , DLOS Subject: [PATCH] ARM: davinci: da850 evm: pass platform data for adv7343 encoder Date: Tue, 15 Jan 2013 13:34:41 +0530 Message-ID: <1358237081-2584-1-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 CC: LKML X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Without this patch the adv7343 encoder was being set to default configuration which caused display not to work on this board. This patch passes the necessary platform data required for adv7343 encoder to work on da850 evm. Signed-off-by: Lad, Prabhakar Acked-by: Sekhar Nori --- This patch is dependent on http://patchwork.linuxtv.org/patch/16272/ arch/arm/mach-davinci/board-da850-evm.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 0299915..d0e3ec3 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1256,11 +1256,24 @@ static struct vpif_capture_config da850_vpif_capture_config = { }; /* VPIF display configuration */ + +static struct adv7343_platform_data adv7343_pdata = { + .mode_config = { + .dac_3 = 1, + .dac_2 = 1, + .dac_1 = 1, + }, + .sd_config = { + .sd_dac_out1 = 1, + }, +}; + static struct vpif_subdev_info da850_vpif_subdev[] = { { .name = "adv7343", .board_info = { I2C_BOARD_INFO("adv7343", 0x2a), + .platform_data = &adv7343_pdata, }, }, };