diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-30 18:30:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-30 18:30:01 -0400 |
commit | acff987d94cbdb4049f3706bed1f1792f8ef6837 (patch) | |
tree | 36bded977aab5d80cf9aeb5467f83dd554a25d01 /arch/powerpc/sysdev | |
parent | ce949717b559709423c1ef716a9db16d1dcadaed (diff) | |
parent | b57287ba497b63a0d87a058631bbddfed9392e9f (diff) |
Merge branch 'fbdev-next' of git://github.com/schandinat/linux-2.6
* 'fbdev-next' of git://github.com/schandinat/linux-2.6: (270 commits)
video: platinumfb: Add __devexit_p at necessary place
drivers/video: fsl-diu-fb: merge diu_pool into fsl_diu_data
drivers/video: fsl-diu-fb: merge diu_hw into fsl_diu_data
drivers/video: fsl-diu-fb: only DIU modes 0 and 1 are supported
drivers/video: fsl-diu-fb: remove unused panel operating mode support
drivers/video: fsl-diu-fb: use an enum for the AOI index
drivers/video: fsl-diu-fb: add several new video modes
drivers/video: fsl-diu-fb: remove broken screen blanking support
drivers/video: fsl-diu-fb: move some definitions out of the header file
drivers/video: fsl-diu-fb: fix some ioctls
video: da8xx-fb: Increased resolution configuration of revised LCDC IP
OMAPDSS: picodlp: add missing #include <linux/module.h>
fb: fix au1100fb bitrot.
mx3fb: fix NULL pointer dereference in screen blanking.
video: irq: Remove IRQF_DISABLED
smscufx: change edid data to u8 instead of char
OMAPDSS: DISPC: zorder support for DSS overlays
OMAPDSS: DISPC: VIDEO3 pipeline support
OMAPDSS/OMAP_VOUT: Fix incorrect OMAP3-alpha compatibility setting
video/omap: fix build dependencies
...
Fix up conflicts in:
- drivers/staging/xgifb/XGI_main_26.c
Changes to XGIfb_pan_var()
- drivers/video/omap/{lcd_apollon.c,lcd_ldp.c,lcd_overo.c}
Removed (or in the case of apollon.c, merged into the generic
DSS panel in drivers/video/omap2/displays/panel-generic-dpi.c)
Diffstat (limited to 'arch/powerpc/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h index 2ece02beb8ff..c6d00736f07f 100644 --- a/arch/powerpc/sysdev/fsl_soc.h +++ b/arch/powerpc/sysdev/fsl_soc.h | |||
@@ -22,15 +22,24 @@ struct device_node; | |||
22 | extern void fsl_rstcr_restart(char *cmd); | 22 | extern void fsl_rstcr_restart(char *cmd); |
23 | 23 | ||
24 | #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) | 24 | #if defined(CONFIG_FB_FSL_DIU) || defined(CONFIG_FB_FSL_DIU_MODULE) |
25 | |||
26 | /* The different ports that the DIU can be connected to */ | ||
27 | enum fsl_diu_monitor_port { | ||
28 | FSL_DIU_PORT_DVI, /* DVI */ | ||
29 | FSL_DIU_PORT_LVDS, /* Single-link LVDS */ | ||
30 | FSL_DIU_PORT_DLVDS /* Dual-link LVDS */ | ||
31 | }; | ||
32 | |||
25 | struct platform_diu_data_ops { | 33 | struct platform_diu_data_ops { |
26 | unsigned int (*get_pixel_format) (unsigned int bits_per_pixel, | 34 | u32 (*get_pixel_format)(enum fsl_diu_monitor_port port, |
27 | int monitor_port); | 35 | unsigned int bpp); |
28 | void (*set_gamma_table) (int monitor_port, char *gamma_table_base); | 36 | void (*set_gamma_table)(enum fsl_diu_monitor_port port, |
29 | void (*set_monitor_port) (int monitor_port); | 37 | char *gamma_table_base); |
30 | void (*set_pixel_clock) (unsigned int pixclock); | 38 | void (*set_monitor_port)(enum fsl_diu_monitor_port port); |
31 | ssize_t (*show_monitor_port) (int monitor_port, char *buf); | 39 | void (*set_pixel_clock)(unsigned int pixclock); |
32 | int (*set_sysfs_monitor_port) (int val); | 40 | enum fsl_diu_monitor_port (*valid_monitor_port) |
33 | void (*release_bootmem) (void); | 41 | (enum fsl_diu_monitor_port port); |
42 | void (*release_bootmem)(void); | ||
34 | }; | 43 | }; |
35 | 44 | ||
36 | extern struct platform_diu_data_ops diu_ops; | 45 | extern struct platform_diu_data_ops diu_ops; |