blob: 85f24aa2865019c4424a3d0fa90b8564d6e28938 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/*
* Copyright (C) 2014-2016 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __MXSFB_H__
#define __MXSFB_H__
#include <linux/fb.h>
#ifdef CONFIG_VIDEO_MXS
struct display_panel {
unsigned int reg_base;
unsigned int width;
unsigned int height;
unsigned int gdfindex;
unsigned int gdfbytespp;
};
void mxs_lcd_get_panel(struct display_panel *panel);
void lcdif_power_down(void);
int mxs_lcd_panel_setup(struct fb_videomode mode, int bpp,
uint32_t base_addr);
#endif
#endif /* __MXSFB_H__ */
|