]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp-ov2680: implement enum frame intervals
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Nov 2021 10:15:44 +0000 (10:15 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 16 Nov 2021 14:37:09 +0000 (14:37 +0000)
commit84d1f9f9c13e6fa7163c08db18aac1aac5ffc358
treebccbb2ab6e482b176ee3b0a6ef87f7c42e5a41f6
parente092056196f8ddcadfc30cad473cad4c5a96b214
media: atomisp-ov2680: implement enum frame intervals

Allow the sensor to report the per-resolution frame interval.

It should be noticed that, despite the ov2680 datasheet says
that, for resolutions <= 1280x720, the sensor supports 60fps,
the data at ov2680.h tells otherwise, limiting it to 30fps.

Not sure yet if this is a limitation of atomisp or if it is
just because the tables are incorrect.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c