mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
760697beca
Convert soc-camera core and all soc-camera drivers to the new mediabus API. This also takes soc-camera client drivers one step closer to also be usable with generic v4l2-subdev host drivers. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
29 lines
680 B
C
29 lines
680 B
C
/*
|
|
* Generic Platform Camera Driver Header
|
|
*
|
|
* Copyright (C) 2008 Magnus Damm
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __SOC_CAMERA_H__
|
|
#define __SOC_CAMERA_H__
|
|
|
|
#include <linux/videodev2.h>
|
|
#include <media/soc_camera.h>
|
|
|
|
struct device;
|
|
|
|
struct soc_camera_platform_info {
|
|
const char *format_name;
|
|
unsigned long format_depth;
|
|
struct v4l2_mbus_framefmt format;
|
|
unsigned long bus_param;
|
|
struct device *dev;
|
|
int (*set_capture)(struct soc_camera_platform_info *info, int enable);
|
|
};
|
|
|
|
#endif /* __SOC_CAMERA_H__ */
|