From patchwork Wed Apr 24 12:00:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 2484261 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by patchwork2.kernel.org (Postfix) with ESMTP id 1F0DDDF25A for ; Wed, 24 Apr 2013 12:06:34 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3OC3ncI023849; Wed, 24 Apr 2013 07:03:49 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r3OC3nXg015585; Wed, 24 Apr 2013 07:03:49 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Wed, 24 Apr 2013 07:03:48 -0500 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 r3OC3mjW019450; Wed, 24 Apr 2013 07:03:48 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 9677480631; Wed, 24 Apr 2013 07:03:48 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 9286D80628 for ; Wed, 24 Apr 2013 07:02:01 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3OC21WL018473 for ; Wed, 24 Apr 2013 07:02:01 -0500 (CDT) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by red.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3OC20dU030123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Apr 2013 07:02:01 -0500 Received: from [216.82.253.67:13204] by server-2.bemta-7.messagelabs.com id 04/C9-03631-8B9C7715; Wed, 24 Apr 2013 12:02:00 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-13.tower-158.messagelabs.com!1366804900!6176276!1 X-Originating-IP: [209.85.210.41] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.8.6.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 4319 invoked from network); 24 Apr 2013 12:01:41 -0000 Received: from mail-da0-f41.google.com (HELO mail-da0-f41.google.com) (209.85.210.41) by server-13.tower-158.messagelabs.com with RC4-SHA encrypted SMTP; 24 Apr 2013 12:01:41 -0000 Received: by mail-da0-f41.google.com with SMTP id p8so858039dan.0 for ; Wed, 24 Apr 2013 05:01:40 -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=fwfZZuPGf1HbwH5demuhLRebjnKOU53o5ADQl9JhvU8=; b=XYe3BHkQ29wu7ZlWrxWiHPWrVSa9dAT4FV/L42agni3GN5NY8ot90c3ZCAczbQryW4 02QvXNSiI1ZXdTn/JHx/QCohvQvAwVGA6R0B1sUViL/gr8Z+tm5bUKAR+/MYaI9dosrU w97AtA8lV/rmc3nL540BFcL7P4yRknw9n+Lf5V7RZbWrCsE9fmD9+jlMUTzZC53Cvm95 BJVdnELP1q8dp/X+qWY/HrbKxQ3TUJn3GonzPT/r/H7X+w/+bIpW457nqziBGK04fVP6 MSv9vcvwKFNzGGs8icHutDujcsMuSoVfoW48VHIZKbHIgEVuIKKMo7P8AEGIM8KSWZxw n8/Q== X-Received: by 10.68.212.100 with SMTP id nj4mr48200943pbc.84.1366804900481; Wed, 24 Apr 2013 05:01:40 -0700 (PDT) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPSA id 9sm2772915pbi.45.2013.04.24.05.01.36 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Apr 2013 05:01:39 -0700 (PDT) From: Prabhakar Lad To: DLOS , LMML , LFBDEV , LAK Subject: [PATCH 6/6] ARM: davinci: dm644x: enable fbdev driver Date: Wed, 24 Apr 2013 17:30:08 +0530 Message-ID: <1366804808-22720-7-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1366804808-22720-1-git-send-email-prabhakar.csengg@gmail.com> References: <1366804808-22720-1-git-send-email-prabhakar.csengg@gmail.com> CC: Florian Tobias Schandinat , LKML , Mauro Carvalho Chehab 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 From: Lad, Prabhakar This patch enables fbdev driver by creating fbdev device and register it. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/dm644x.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c index c2a9273..a4fee07 100644 --- a/arch/arm/mach-davinci/dm644x.c +++ b/arch/arm/mach-davinci/dm644x.c @@ -745,6 +745,15 @@ static struct platform_device dm644x_vpbe_display = { }, }; +static struct platform_device dm644x_davincifb = { + .name = "davinci-vpbe-fb", + .id = -1, + .dev = { + .dma_mask = &dm644x_video_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, +}; + static struct venc_platform_data dm644x_venc_pdata = { .setup_clock = dm644x_venc_setup_clock, }; @@ -909,6 +918,7 @@ int __init dm644x_init_video(struct vpfe_config *vpfe_cfg, platform_device_register(&dm644x_venc_dev); platform_device_register(&dm644x_vpbe_dev); platform_device_register(&dm644x_vpbe_display); + platform_device_register(&dm644x_davincifb); } return 0;