]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00142005-5 ARM: mx53 loco: add LVDS support
authorLily Zhang <r58066@freescale.com>
Thu, 14 Apr 2011 07:52:48 +0000 (15:52 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:08:55 +0000 (14:08 +0200)
Add LVDS support in MX53 LOCO board

Signed-off-by: Lily Zhang <r58066@freescale.com>
arch/arm/mach-mx5/board-mx53_loco.c

index 593904ccc8b7919200cca5d88a728a10153e9cca..fc49b5d22bf095711b903d707c5dc39cde70fd3a 100755 (executable)
@@ -221,7 +221,7 @@ static const struct gpio_keys_button loco_buttons[] __initconst = {
 };
 
 static const struct gpio_keys_platform_data loco_button_data __initconst = {
-       .buttons        = loco_buttons,
+       .buttons        = (struct gpio_keys_button *)loco_buttons,
        .nbuttons       = ARRAY_SIZE(loco_buttons),
 };
 
@@ -630,6 +630,10 @@ static struct mxc_iim_platform_data iim_data = {
 
 static int z160_revision __initdata;
 
+static struct fsl_mxc_ldb_platform_data ldb_data = {
+       .ext_ref = 1,
+};
+
 static void __init mx53_loco_board_init(void)
 {
        mx53_loco_io_init();
@@ -642,6 +646,7 @@ static void __init mx53_loco_board_init(void)
 
        imx53_add_ipuv3(&ipu_data);
        imx53_add_vpu();
+       imx53_add_ldb(&ldb_data);
        imx53_add_tve(&tve_data);
        imx53_add_v4l2_output(0);