Merge tag 'fbdev-main-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
Pull fbdev changes from Tomi Valkeinen: "Various fbdev fixes and improvements, but nothing big" * tag 'fbdev-main-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux: (38 commits) fbdev: Make the switch from generic to native driver less alarming Video: atmel: avoid the id of fix screen info is overwritten video: imxfb: Add DT default contrast control register property. video: atmel_lcdfb: ensure the hardware is initialized with the correct mode fbdev: vesafb: add dev->remove() callback fbdev: efifb: add dev->remove() callback video: pxa3xx-gcu: switch to devres functions video: pxa3xx-gcu: provide an empty .open call video: pxa3xx-gcu: pass around struct device * video: pxa3xx-gcu: rename some symbols sisfb: fix 1280x720 resolution support video: fbdev: uvesafb: Remove impossible code path in uvesafb_init_info video: fbdev: uvesafb: Remove redundant NULL check in uvesafb_remove fbdev: FB_OPENCORES should depend on HAS_DMA OMAPDSS: convert pixel clock to common videomode style OMAPDSS: Remove unused get_context_loss_count support OMAPDSS: use DISPC register to detect context loss video: da8xx-fb: Use "SIMPLE_DEV_PM_OPS" macro video: imxfb: Convert to SIMPLE_DEV_PM_OPS video: imxfb: Resolve mismatch between backlight/contrast ...
This commit is contained in:
@@ -61,24 +61,12 @@ struct imx_fb_platform_data {
|
||||
struct imx_fb_videomode *mode;
|
||||
int num_modes;
|
||||
|
||||
u_int cmap_greyscale:1,
|
||||
cmap_inverse:1,
|
||||
cmap_static:1,
|
||||
unused:29;
|
||||
|
||||
u_int pwmr;
|
||||
u_int lscr1;
|
||||
u_int dmacr;
|
||||
|
||||
u_char * fixed_screen_cpu;
|
||||
dma_addr_t fixed_screen_dma;
|
||||
|
||||
int (*init)(struct platform_device *);
|
||||
void (*exit)(struct platform_device *);
|
||||
|
||||
void (*lcd_power)(int);
|
||||
void (*backlight_power)(int);
|
||||
};
|
||||
|
||||
void set_imx_fb_info(struct imx_fb_platform_data *);
|
||||
#endif /* ifndef __MACH_IMXFB_H__ */
|
||||
|
@@ -1,30 +0,0 @@
|
||||
/*
|
||||
* Platform device data for Xilinx Framebuffer device
|
||||
*
|
||||
* Copyright 2007 Secret Lab Technologies Ltd.
|
||||
*
|
||||
* This file is licensed under the terms of the GNU General Public License
|
||||
* version 2. This program is licensed "as is" without any warranty of any
|
||||
* kind, whether express or implied.
|
||||
*/
|
||||
|
||||
#ifndef __XILINXFB_H__
|
||||
#define __XILINXFB_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
/* ML300/403 reference design framebuffer driver platform data struct */
|
||||
struct xilinxfb_platform_data {
|
||||
u32 rotate_screen; /* Flag to rotate display 180 degrees */
|
||||
u32 screen_height_mm; /* Physical dimensions of screen in mm */
|
||||
u32 screen_width_mm;
|
||||
u32 xres, yres; /* resolution of screen in pixels */
|
||||
u32 xvirt, yvirt; /* resolution of memory buffer */
|
||||
|
||||
/* Physical address of framebuffer memory; If non-zero, driver
|
||||
* will use provided memory address instead of allocating one from
|
||||
* the consistent pool. */
|
||||
u32 fb_phys;
|
||||
};
|
||||
|
||||
#endif /* __XILINXFB_H__ */
|
Reference in New Issue
Block a user