V4L/DVB (13661): rj54n1cb0c: Add cropping, auto white balance, restrict sizes, add platform data
It has been experimentally found out, that the sensor only supports up to 512x384 video output and also has some restrictions on minimum scale. We disable non-working size ranges until, maybe, someone finds out how to properly set them up. Also add cropping support, an auto white balance control, platform data to specify master clock frequency and polarity of the IOCTL pin. create mode 100644 include/media/rj54n1cb0c.h Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
760697beca
commit
a6b5f2008a
19
include/media/rj54n1cb0c.h
Normal file
19
include/media/rj54n1cb0c.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* RJ54N1CB0C Private data
|
||||
*
|
||||
* Copyright (C) 2009, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
|
||||
*
|
||||
* 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 __RJ54N1CB0C_H__
|
||||
#define __RJ54N1CB0C_H__
|
||||
|
||||
struct rj54n1_pdata {
|
||||
unsigned int mclk_freq;
|
||||
bool ioctl_high;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user