From patchwork Wed Apr 24 12:00:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2484161 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 76670DFE75 for ; Wed, 24 Apr 2013 12:02:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932397Ab3DXMCN (ORCPT ); Wed, 24 Apr 2013 08:02:13 -0400 Received: from mail-da0-f53.google.com ([209.85.210.53]:35898 "EHLO mail-da0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757096Ab3DXMBf (ORCPT ); Wed, 24 Apr 2013 08:01:35 -0400 Received: by mail-da0-f53.google.com with SMTP id n34so848292dal.40 for ; Wed, 24 Apr 2013 05:01:34 -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=fZgrjC1eThEBFh4rleZj1EpN+81hKLCSJrlEauK3D8M=; b=jT4d6whk3EyWbtUoS2pHO3nqA5QcwZmVC+XXQ1J34Vv9LThWMhqXbQcxRONIy3ed1p D1+d8mSntxtWqsKU45R+W7m8UhL1KipfKEb+ia8o4qnLIecGBmeS3VxPpvPbUCjhWxr6 EuHnHzPRYXhxMQd7DkQqTSHPO6miLE46SYdQd2CDW3mUyQqY4HqfkH9EjV2UXbwDq2I+ fUofu/+TSvEn+eSnRn1gjzFuIhhEDov591YrGnuAfdYEDIRmg9k4/cLso0PeSf+onYmU 3Po24tlWx9VIxRicMNd3c1tArlC0CvXFYTJrSgVMLGORBJLq8e9fHiI9lJY/9+OhOAFm N5pQ== X-Received: by 10.68.138.7 with SMTP id qm7mr48062978pbb.169.1366804894229; Wed, 24 Apr 2013 05:01:34 -0700 (PDT) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPSA id 9sm2772915pbi.45.2013.04.24.05.01.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Apr 2013 05:01:33 -0700 (PDT) From: Prabhakar Lad To: DLOS , LMML , LFBDEV , LAK Cc: LKML , Sekhar Nori , Mauro Carvalho Chehab , Florian Tobias Schandinat , "Lad, Prabhakar" Subject: [PATCH 5/6] ARM: davinci: dm365: enable fbdev driver Date: Wed, 24 Apr 2013 17:30:07 +0530 Message-Id: <1366804808-22720-6-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> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org From: Lad, Prabhakar This patch enables fbdev driver by creating fbdev device and register it. Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/dm365.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index ff771ce..b06623c 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c @@ -1349,6 +1349,15 @@ static struct platform_device dm365_vpbe_display = { }, }; +static struct platform_device dm365_davincifb = { + .name = "davinci-vpbe-fb", + .id = -1, + .dev = { + .dma_mask = &dm365_video_dma_mask, + .coherent_dma_mask = DMA_BIT_MASK(32), + }, +}; + struct venc_platform_data dm365_venc_pdata = { .setup_pinmux = dm365_vpbe_setup_pinmux, .setup_clock = dm365_venc_setup_clock, @@ -1392,6 +1401,7 @@ int __init dm365_init_video(struct vpfe_config *vpfe_cfg, platform_device_register(&dm365_venc_dev); platform_device_register(&dm365_vpbe_dev); platform_device_register(&dm365_vpbe_display); + platform_device_register(&dm365_davincifb); } return 0;