xref: /OK3568_Linux_fs/kernel/include/video/platform_lcd.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /* include/video/platform_lcd.h
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * Copyright 2008 Simtec Electronics
5*4882a593Smuzhiyun  *	Ben Dooks <ben@simtec.co.uk>
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * Generic platform-device LCD power control interface.
8*4882a593Smuzhiyun */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun struct plat_lcd_data;
11*4882a593Smuzhiyun struct fb_info;
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun struct plat_lcd_data {
14*4882a593Smuzhiyun 	int	(*probe)(struct plat_lcd_data *);
15*4882a593Smuzhiyun 	void	(*set_power)(struct plat_lcd_data *, unsigned int power);
16*4882a593Smuzhiyun 	int	(*match_fb)(struct plat_lcd_data *, struct fb_info *);
17*4882a593Smuzhiyun };
18*4882a593Smuzhiyun 
19