aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-11 10:21:22 +0000
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-16 14:37:09 +0000
commitdd8e6adb9b5dff3b01813dbc1216e438ed1414cf (patch)
tree18e120c746fead0fd9cd60bfd72e5a2c8db2be8e /drivers/staging/media/atomisp
parentmedia: atomisp-ov2680: remove some unused fields (diff)
downloadlinux-dev-dd8e6adb9b5dff3b01813dbc1216e438ed1414cf.tar.xz
linux-dev-dd8e6adb9b5dff3b01813dbc1216e438ed1414cf.zip
media: atomisp-ov2680: adjust the maximum frame rate
The ov2680 supports a maximum bandwidth of 660Mbps and allows up to 60fps when the resolution is below 720p. Adjust the sensor's table to reflect that. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp')
-rw-r--r--drivers/staging/media/atomisp/i2c/ov2680.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/media/atomisp/i2c/ov2680.h b/drivers/staging/media/atomisp/i2c/ov2680.h
index cb3c37d1c38e..4e351196fe34 100644
--- a/drivers/staging/media/atomisp/i2c/ov2680.h
+++ b/drivers/staging/media/atomisp/i2c/ov2680.h
@@ -822,7 +822,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 1280,
.height = 720,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,
@@ -835,7 +835,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 800,
.height = 600,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,
@@ -848,7 +848,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 720,
.height = 592,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,
@@ -861,7 +861,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 656,
.height = 496,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,
@@ -874,7 +874,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 336,
.height = 256,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,
@@ -887,7 +887,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 352,
.height = 288,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,
@@ -900,7 +900,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{
.width = 176,
.height = 144,
- .fps = 30,
+ .fps = 60,
.pix_clk_freq = 66,
.pixels_per_line = 1698,//1704,
.lines_per_frame = 1294,