OSDN Git Service

media: ov5647: Add SGGBR10_1X10 modes
authorJacopo Mondi <jacopo@jmondi.org>
Thu, 19 Nov 2020 16:32:36 +0000 (17:32 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 Jan 2021 15:16:02 +0000 (16:16 +0100)
commita8df5af695a1ecd5077df18bd00375e24947b468
treeaec1b9d30439dd5b5a6dd59312fe3018428a743d
parente907bd662ebd6bf9d60b074c3b9f1facf8a12f8b
media: ov5647: Add SGGBR10_1X10 modes

Add 4 additional sensor modes in SBGGR10_1X10 format.

Add the following resolutions:
- 2592x1944 full resolution
- 1920x1080 1080p cropped
- 1296x972 2x2 binned
- 640x480 2x2 binned, 2x2 subsampled

The register lists and modes definition have been upported from the
RaspberryPi BSP at revision:
commit 581dfda6d0a62 ("media: i2c: ov5647: Advertise the correct exposure range")

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov5647.c