ov8830: add partial support for getting sensor mode data
authorTuukka Toivonen <tuukka.toivonen@intel.com>
Thu, 22 Mar 2012 10:06:00 +0000 (12:06 +0200)
committerbuildbot <buildbot@intel.com>
Tue, 27 Mar 2012 19:14:28 +0000 (12:14 -0700)
commitfe980e0fcb244fa3fbcfb2f2910dc57b8a4428f2
tree4e7d836da99bab2a3a02e4b924527dc97bc07e3a
parentfb9a208f8629322b72466fac947f0d2eb9cc712f
ov8830: add partial support for getting sensor mode data

BZ: 27475

Set sensor mode data to camera mipi info. This data can be then
read using the ATOMISP_IOC_G_SENSOR_MODE_DATA private ioctl.
Currently sensor pixel clock, frame length and width (including
blanking times) are returned which allows 3A to calculate exposure
time.

Change-Id: I2d10cab209b231ccfec98d2a66334e930d8e9f3c
Signed-off-by: Tuukka Toivonen <tuukka.toivonen@intel.com>
Reviewed-on: http://android.intel.com:8080/40164
Reviewed-by: Cohen, David A <david.a.cohen@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/media/video/ov8830.c
drivers/media/video/ov8830.h