summaryrefslogtreecommitdiff
path: root/include/mxsfb.h
blob: f7f9597b8efd63a96b1e332160a64cdf0cd0fe02 (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-2015 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__ */