mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
0d3244d643
This is V3 of the SuperH Mobile CEU soc_camera driver. The CEU hardware block is configured in a transparent data fetch mode, frames are captured from the attached camera and written to physically contiguous memory buffers provided by the newly added videobuf-dma-contig queue. Tested on sh7722 and sh7723 processors. Changes since V2: - remove SUPERH Kconfig dependency - move sh_mobile_ceu.h to include/media - add board callback support with enable_camera()/disable_camera() - add support for declare_coherent_memory - rework video memory limit - more verbose error messages Changes since V1: - fixed the CEU driver to work with the newly updated patches Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
13 lines
264 B
C
13 lines
264 B
C
#ifndef __ASM_SH_MOBILE_CEU_H__
|
|
#define __ASM_SH_MOBILE_CEU_H__
|
|
|
|
#include <media/soc_camera.h>
|
|
|
|
struct sh_mobile_ceu_info {
|
|
unsigned long flags; /* SOCAM_... */
|
|
void (*enable_camera)(void);
|
|
void (*disable_camera)(void);
|
|
};
|
|
|
|
#endif /* __ASM_SH_MOBILE_CEU_H__ */
|