aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung/extension/s5p_fimd_lite.h
blob: a8ef4920f373cb70e44b8610dd3f5bec1aac3975 (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
28
29
30
31
32
33
34
35
36
37
/* linux/arch/arm/plat-s5p/s5p_fimd_lite.h
 *
 * FIMD Lite Platform Specific Header Definitions.
 *
 * Copyright (c) 2010 Samsung Electronics
 * InKi Dae <inki.dae@samsung.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

#ifndef _S5P_FIMD_LITE_H_
#define _S5P_FIMD_LITE_H_

#include <drm/exynos_drm.h>

struct s5p_fimd_lite_platform_data {
	unsigned int reg_base;
	unsigned int reg_map_size;
	unsigned int irq;
};

struct s5p_fimd_lite {
	struct device		*dev;
	struct clk		*clk;
	void __iomem		*iomem_base;
	unsigned int		irq;
	unsigned int		dynamic_refresh;

	struct exynos_drm_fimd_pdata	*lcd;
};

void s5p_fimd_lite_get_vsync_interrupt(struct s5p_fimd_lite *fimd_lite,
					unsigned int enable);

#endif /* _S5P_FIMD_LITE_H_ */