Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / media / sh_mobile_ceu.h
CommitLineData
0d3244d6
MD
1#ifndef __ASM_SH_MOBILE_CEU_H__
2#define __ASM_SH_MOBILE_CEU_H__
3
c354b400
KM
4#define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */
5#define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */
85dc1cff
KM
6#define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */
7#define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */
2564f67b 8#define SH_CEU_FLAG_LOWER_8BIT (1 << 4) /* default upper 8bit */
0d3244d6 9
b3b5020d 10struct device;
6b526fed
GL
11struct resource;
12
13struct sh_mobile_ceu_companion {
14 u32 num_resources;
15 struct resource *resource;
16 int id;
17 void *platform_data;
18};
b3b5020d 19
0d3244d6 20struct sh_mobile_ceu_info {
c354b400 21 unsigned long flags;
48e971cd
GL
22 int max_width;
23 int max_height;
6b526fed 24 struct sh_mobile_ceu_companion *csi2;
0d3244d6
MD
25};
26
27#endif /* __ASM_SH_MOBILE_CEU_H__ */