From: prabhakar.csengg@gmail.com (Prabhakar Lad)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/6] ARM: davinci: dm644x: enable fbdev driver
Date: Wed, 24 Apr 2013 17:30:08 +0530 [thread overview]
Message-ID: <1366804808-22720-7-git-send-email-prabhakar.csengg@gmail.com> (raw)
In-Reply-To: <1366804808-22720-1-git-send-email-prabhakar.csengg@gmail.com>
From: Lad, Prabhakar <prabhakar.csengg@gmail.com>
This patch enables fbdev driver by creating fbdev device and register it.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
---
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;
--
1.7.4.1
next prev parent reply other threads:[~2013-04-24 12:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 12:00 [PATCH 0/6] Davinci fbdev driver and enable it for DMx platform Prabhakar Lad
2013-04-24 12:00 ` [PATCH 1/6] media: davinci: vpbe: fix checkpatch warning for CamelCase Prabhakar Lad
2013-04-24 12:00 ` [PATCH 2/6] media: davinci: vpbe: enable vpbe for fbdev addition Prabhakar Lad
2013-04-24 12:00 ` [PATCH 3/6] davinci: vpbe: add fbdev driver Prabhakar Lad
2013-04-24 12:00 ` [PATCH 4/6] ARM: davinci: dm355: enable " Prabhakar Lad
2013-04-24 12:00 ` [PATCH 5/6] ARM: davinci: dm365: " Prabhakar Lad
2013-04-24 12:00 ` Prabhakar Lad [this message]
2013-04-24 21:02 ` [PATCH 0/6] Davinci fbdev driver and enable it for DMx platform Laurent Pinchart
2013-04-26 5:46 ` Prabhakar Lad
2013-05-03 9:55 ` Sekhar Nori
2013-05-03 10:15 ` Prabhakar Lad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1366804808-22720-7-git-send-email-prabhakar.csengg@gmail.com \
--to=prabhakar.csengg@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).