/* * linux/arch/arm/mach-omap2/board-rx51-video.c * * Copyright (C) 2010 Nokia * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/gpio.h> #include <linux/spi/spi.h> #include <linux/mm.h> #include <asm/mach-types.h> #include <linux/platform_data/omapdss.h> #include <video/omap-panel-data.h> #include <linux/platform_data/spi-omap2-mcspi.h> #include "soc.h" #include "board-rx51.h" #include "display.h" #include "mux.h" #define RX51_LCD_RESET_GPIO 90 #if defined(CONFIG_FB_OMAP2) || defined(CONFIG_FB_OMAP2_MODULE) static struct connector_atv_platform_data rx51_tv_pdata = { .name = "tv", .source = "venc.0", .invert_polarity = false, }; static struct platform_device rx51_tv_connector_device = { .name = "connector-analog-tv", .id = 0, .dev.platform_data = &rx51_tv_pdata, }; static struct omap_dss_board_info rx51_dss_board_info = { .default_display_name = "lcd", };
static int __init rx51_video_init(void) { if (!machine_is_nokia_rx51()) return 0; if (omap_mux_init_gpio(RX51_LCD_RESET_GPIO, OMAP_PIN_OUTPUT)) { pr_err("%s cannot configure MUX for LCD RESET\n", __func__); return 0; } omap_display_init(&rx51_dss_board_info); platform_device_register(&rx51_tv_connector_device); return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
roger quadros | roger quadros | 45 | 83.33% | 1 | 33.33% |
tomi valkeinen | tomi valkeinen | 6 | 11.11% | 1 | 33.33% |
senthilvadivu guruswamy | senthilvadivu guruswamy | 3 | 5.56% | 1 | 33.33% |
Total | 54 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
roger quadros | roger quadros | 123 | 68.72% | 1 | 9.09% |
tomi valkeinen | tomi valkeinen | 23 | 12.85% | 1 | 9.09% |
srikar | srikar | 15 | 8.38% | 1 | 9.09% |
tony lindgren | tony lindgren | 5 | 2.79% | 2 | 18.18% |
peter ujfalusi | peter ujfalusi | 4 | 2.23% | 2 | 18.18% |
archit taneja | archit taneja | 3 | 1.68% | 1 | 9.09% |
senthilvadivu guruswamy | senthilvadivu guruswamy | 3 | 1.68% | 1 | 9.09% |
manjunath kondaiah g | manjunath kondaiah g | 2 | 1.12% | 1 | 9.09% |
arnd bergmann | arnd bergmann | 1 | 0.56% | 1 | 9.09% |
Total | 179 | 100.00% | 11 | 100.00% |