mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
2564f67bc8
CAMCR::DTIF feild controls camera bus as upper8bit/16bit/lower8bit. This patch manages unmanaged lower 8bit bus Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
27 lines
726 B
C
27 lines
726 B
C
#ifndef __ASM_SH_MOBILE_CEU_H__
|
|
#define __ASM_SH_MOBILE_CEU_H__
|
|
|
|
#define SH_CEU_FLAG_USE_8BIT_BUS (1 << 0) /* use 8bit bus width */
|
|
#define SH_CEU_FLAG_USE_16BIT_BUS (1 << 1) /* use 16bit bus width */
|
|
#define SH_CEU_FLAG_HSYNC_LOW (1 << 2) /* default High if possible */
|
|
#define SH_CEU_FLAG_VSYNC_LOW (1 << 3) /* default High if possible */
|
|
#define SH_CEU_FLAG_LOWER_8BIT (1 << 4) /* default upper 8bit */
|
|
|
|
struct device;
|
|
struct resource;
|
|
|
|
struct sh_mobile_ceu_companion {
|
|
u32 num_resources;
|
|
struct resource *resource;
|
|
int id;
|
|
void *platform_data;
|
|
};
|
|
|
|
struct sh_mobile_ceu_info {
|
|
unsigned long flags;
|
|
int max_width;
|
|
int max_height;
|
|
struct sh_mobile_ceu_companion *csi2;
|
|
};
|
|
|
|
#endif /* __ASM_SH_MOBILE_CEU_H__ */
|