diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 00:44:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 00:44:20 -0500 |
commit | f0d55cc1a65852e6647d4f5d707c1c9b5471ce3c (patch) | |
tree | e96d6a88590f656d86c1f58cb0b34d40d6091b63 /include/video | |
parent | 549608eadb31eac5d579ed70a21ac722bdf72861 (diff) | |
parent | 3a41c5dbe8bc396a7fb16ca8739e945bb003342e (diff) |
Merge tag 'fbdev-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
Pull fbdev changes from Tomi Valkeinen:
"Nothing particularly stands out in this pull request. The biggest
part of the changes are cleanups.
Maybe one fix to mention is the "fb: reorder the lock sequence to fix
potential dead lock" which hopefully fixes the fb locking issues
reported by multiple persons.
There are also a few commits that have changes to arch/arm/mach-at91
and arch/avr32, which have been acked by the maintainers"
* tag 'fbdev-3.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (143 commits)
fb: reorder the lock sequence to fix potential dead lock
fbdev: shmobile-lcdcfb: Convert to clk_prepare/unprepare
fbdev: shmobile-hdmi: Convert to clk_prepare/unprepare
omapdss: Add new panel driver for Topolly td028ttec1 LCD.
video: exynos_mipi_dsi: Unlock the mutex before returning
video: da8xx-fb: remove unwanted define
video: Remove unnecessary semicolons
simplefb: use write-combined remapping
simplefb: fix unmapping fb during destruction
OMAPDSS: connector-dvi: fix releasing i2c_adapter
OMAPDSS: DSI: fix perf measuring ifdefs
framebuffer: Use fb_<level>
framebuffer: Add fb_<level> convenience logging macros
efifb: prevent null-deref when iterating dmi_list
fbdev: fix error return code in metronomefb_probe()
video: xilinxfb: Fix for "Use standard variable name convention"
OMAPDSS: Fix de_level in videomode_to_omap_video_timings()
video: xilinxfb: Simplify error path
video: xilinxfb: Use devm_kzalloc instead of kzalloc
video: xilinxfb: Use standard variable name convention
...
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/atmel_lcdc.h | 25 | ||||
-rw-r--r-- | include/video/mmp_disp.h | 6 | ||||
-rw-r--r-- | include/video/omap-panel-data.h | 13 |
3 files changed, 22 insertions, 22 deletions
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h index 0f5a2fc69af9..c79f38131926 100644 --- a/include/video/atmel_lcdc.h +++ b/include/video/atmel_lcdc.h | |||
@@ -31,39 +31,20 @@ | |||
31 | #define ATMEL_LCDC_WIRING_BGR 0 | 31 | #define ATMEL_LCDC_WIRING_BGR 0 |
32 | #define ATMEL_LCDC_WIRING_RGB 1 | 32 | #define ATMEL_LCDC_WIRING_RGB 1 |
33 | 33 | ||
34 | struct atmel_lcdfb_config; | ||
35 | 34 | ||
36 | /* LCD Controller info data structure, stored in device platform_data */ | 35 | /* LCD Controller info data structure, stored in device platform_data */ |
37 | struct atmel_lcdfb_info { | 36 | struct atmel_lcdfb_pdata { |
38 | spinlock_t lock; | ||
39 | struct fb_info *info; | ||
40 | void __iomem *mmio; | ||
41 | int irq_base; | ||
42 | struct work_struct task; | ||
43 | |||
44 | unsigned int guard_time; | 37 | unsigned int guard_time; |
45 | unsigned int smem_len; | ||
46 | struct platform_device *pdev; | ||
47 | struct clk *bus_clk; | ||
48 | struct clk *lcdc_clk; | ||
49 | |||
50 | #ifdef CONFIG_BACKLIGHT_ATMEL_LCDC | ||
51 | struct backlight_device *backlight; | ||
52 | u8 bl_power; | ||
53 | #endif | ||
54 | bool lcdcon_is_backlight; | 38 | bool lcdcon_is_backlight; |
55 | bool lcdcon_pol_negative; | 39 | bool lcdcon_pol_negative; |
56 | u8 saved_lcdcon; | ||
57 | |||
58 | u8 default_bpp; | 40 | u8 default_bpp; |
59 | u8 lcd_wiring_mode; | 41 | u8 lcd_wiring_mode; |
60 | unsigned int default_lcdcon2; | 42 | unsigned int default_lcdcon2; |
61 | unsigned int default_dmacon; | 43 | unsigned int default_dmacon; |
62 | void (*atmel_lcdfb_power_control)(int on); | 44 | void (*atmel_lcdfb_power_control)(struct atmel_lcdfb_pdata *pdata, int on); |
63 | struct fb_monspecs *default_monspecs; | 45 | struct fb_monspecs *default_monspecs; |
64 | u32 pseudo_palette[16]; | ||
65 | 46 | ||
66 | struct atmel_lcdfb_config *config; | 47 | struct list_head pwr_gpios; |
67 | }; | 48 | }; |
68 | 49 | ||
69 | #define ATMEL_LCDC_DMABADDR1 0x00 | 50 | #define ATMEL_LCDC_DMABADDR1 0x00 |
diff --git a/include/video/mmp_disp.h b/include/video/mmp_disp.h index b9dd1fbb0082..9fd9398368d5 100644 --- a/include/video/mmp_disp.h +++ b/include/video/mmp_disp.h | |||
@@ -91,6 +91,11 @@ struct mmp_win { | |||
91 | u16 up_crop; | 91 | u16 up_crop; |
92 | u16 bottom_crop; | 92 | u16 bottom_crop; |
93 | int pix_fmt; | 93 | int pix_fmt; |
94 | /* | ||
95 | * pitch[0]: graphics/video layer line length or y pitch | ||
96 | * pitch[1]/pitch[2]: video u/v pitch if non-zero | ||
97 | */ | ||
98 | u32 pitch[3]; | ||
94 | }; | 99 | }; |
95 | 100 | ||
96 | struct mmp_addr { | 101 | struct mmp_addr { |
@@ -334,6 +339,7 @@ struct mmp_mach_path_config { | |||
334 | int output_type; | 339 | int output_type; |
335 | u32 path_config; | 340 | u32 path_config; |
336 | u32 link_config; | 341 | u32 link_config; |
342 | u32 dsi_rbswap; | ||
337 | }; | 343 | }; |
338 | 344 | ||
339 | struct mmp_mach_plat_info { | 345 | struct mmp_mach_plat_info { |
diff --git a/include/video/omap-panel-data.h b/include/video/omap-panel-data.h index f7ac8d972af0..69279c013ac4 100644 --- a/include/video/omap-panel-data.h +++ b/include/video/omap-panel-data.h | |||
@@ -238,4 +238,17 @@ struct panel_nec_nl8048hl11_platform_data { | |||
238 | int qvga_gpio; | 238 | int qvga_gpio; |
239 | }; | 239 | }; |
240 | 240 | ||
241 | /** | ||
242 | * panel-tpo-td028ttec1 platform data | ||
243 | * @name: name for display entity | ||
244 | * @source: name of the display entity used as a video source | ||
245 | * @data_lines: number of DPI datalines | ||
246 | */ | ||
247 | struct panel_tpo_td028ttec1_platform_data { | ||
248 | const char *name; | ||
249 | const char *source; | ||
250 | |||
251 | int data_lines; | ||
252 | }; | ||
253 | |||
241 | #endif /* __OMAP_PANEL_DATA_H */ | 254 | #endif /* __OMAP_PANEL_DATA_H */ |