mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 05:56:56 +07:00
c41debafc6
soc_camera_platform.c is only used by y SuperH ap325rxa board. This patch converts soc_camera_platform.c and its users for the soc-camera platform- device conversion and also extends soc-camera core to handle non-I2C cameras. Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
29 lines
697 B
C
29 lines
697 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 soc_camera_platform_info {
|
|
int iface;
|
|
char *format_name;
|
|
unsigned long format_depth;
|
|
struct v4l2_pix_format format;
|
|
unsigned long bus_param;
|
|
void (*power)(int);
|
|
int (*set_capture)(struct soc_camera_platform_info *info, int enable);
|
|
struct soc_camera_link link;
|
|
};
|
|
|
|
#endif /* __SOC_CAMERA_H__ */
|