mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
b3b5020d8c
Using CEU with CSI2 on SH-Mobile requires some special configuration of the former. We also have to switch from calling only one subdev .s_mbus_fmt and .try_mbus_fmt to calling all subdevices. Take care to increment CSI2 driver use count to prevent it from unloading, while in use. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
17 lines
478 B
C
17 lines
478 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 */
|
|
|
|
struct device;
|
|
|
|
struct sh_mobile_ceu_info {
|
|
unsigned long flags;
|
|
struct device *csi2_dev;
|
|
};
|
|
|
|
#endif /* __ASM_SH_MOBILE_CEU_H__ */
|