diff options
author | Sakari Ailus <sakari.ailus@nokia.com> | 2007-08-30 12:20:42 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-10 01:14:40 (GMT) |
commit | 2060955748dff6280cd211b68c92d9a99d1c78f9 (patch) | |
tree | 74c83214c007b1dace959b02ac78b7e21f82a758 /drivers/media/video/tcm825x.h | |
parent | 768f4bd3d6a88c13a4099451aa85ae75c9061316 (diff) | |
download | linux-fsl-qoriq-2060955748dff6280cd211b68c92d9a99d1c78f9.tar.xz |
V4L/DVB (6220): TCM825x: Add support for vidioc_int_g_ifparm call, small cleanups
vidioc_int_g_ifparm returns platform-specific information about the
interface settings used by the sensor. Support for [gs]_ext_clk has
been removed.
Fix indentation and remove useless & characters.
Remove experiment for typechecking slave callback function arguments.
Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tcm825x.h')
-rw-r--r-- | drivers/media/video/tcm825x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tcm825x.h b/drivers/media/video/tcm825x.h index d6471ec..966765b 100644 --- a/drivers/media/video/tcm825x.h +++ b/drivers/media/video/tcm825x.h @@ -163,6 +163,9 @@ enum pixel_format { YUV422 = 0, RGB565 }; #define NUM_IMAGE_SIZES 6 #define NUM_PIXEL_FORMATS 2 +#define TCM825X_XCLK_MIN 11900000 +#define TCM825X_XCLK_MAX 25000000 + struct capture_size { unsigned long width; unsigned long height; @@ -178,6 +181,7 @@ struct tcm825x_platform_data { const struct tcm825x_reg *(*default_regs)(void); int (*needs_reset)(struct v4l2_int_device *s, void *buf, struct v4l2_pix_format *fmt); + int (*ifparm)(struct v4l2_ifparm *p); }; /* Array of image sizes supported by TCM825X. These must be ordered from |