/* linux/include/media/s5k4ba_platform.h * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * Driver for S5K4BA (UXGA camera) from Samsung Electronics * 1/4" 2.0Mp CMOS Image Sensor SoC with an Embedded Image Processor * * 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. */ #include #include struct s5k4ba_platform_data { unsigned int default_width; unsigned int default_height; unsigned int pixelformat; int freq; /* MCLK in KHz */ /* This SoC supports Parallel & CSI-2 */ int is_mipi; }; struct s5k4ba_mbus_platform_data { int id; struct v4l2_mbus_framefmt fmt; unsigned long clk_rate; /* master clock frequency in Hz */ int (*set_power)(int on); int (*set_clock)(struct device *dev, int on); };