[PATCH 2/2] mx35_3ds: Make usage of the display connection feature
Michael Grzeschik
m.grzeschik at pengutronix.de
Tue Aug 24 11:27:03 EDT 2010
From: Juergen Beisert <jbe at pengutronix.de>
This platform uses a 18 bpp display.
Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik at pengutronix.de>
---
arch/arm/mach-mx3/mach-mx35_3ds.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c
index 60d5753..ba65463 100644
--- a/arch/arm/mach-mx3/mach-mx35_3ds.c
+++ b/arch/arm/mach-mx3/mach-mx35_3ds.c
@@ -75,6 +75,21 @@ static struct mx3fb_platform_data mx3fb_pdata = {
.name = "CTP-CLAA070LC0ACW",
.mode = fb_personality,
.num_modes = ARRAY_SIZE(fb_personality),
+ /* D[12..17] red */
+ .red = {
+ .offset = 12,
+ .length = 6,
+ },
+ /* D[6..11] green */
+ .green = {
+ .offset = 6,
+ .length = 6,
+ },
+ /* D[0..5] blue */
+ .blue = {
+ .offset = 0,
+ .length = 6,
+ },
};
static const struct imxuart_platform_data uart_pdata __initconst = {
--
1.7.1
More information about the linux-arm-kernel
mailing list