mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
V4L/DVB: V4L2: sh_mobile_camera_ceu: add support for CSI2
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
077e2c10c9
commit
b3b5020d8c
2 changed files with 119 additions and 15 deletions
|
|
@ -6,8 +6,11 @@
|
|||
#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__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue