Commit dd8e6adb authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

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: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 04da0010
...@@ -822,7 +822,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -822,7 +822,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 1280, .width = 1280,
.height = 720, .height = 720,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
...@@ -835,7 +835,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -835,7 +835,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 800, .width = 800,
.height = 600, .height = 600,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
...@@ -848,7 +848,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -848,7 +848,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 720, .width = 720,
.height = 592, .height = 592,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
...@@ -861,7 +861,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -861,7 +861,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 656, .width = 656,
.height = 496, .height = 496,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
...@@ -874,7 +874,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -874,7 +874,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 336, .width = 336,
.height = 256, .height = 256,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
...@@ -887,7 +887,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -887,7 +887,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 352, .width = 352,
.height = 288, .height = 288,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
...@@ -900,7 +900,7 @@ static struct ov2680_resolution ov2680_res_preview[] = { ...@@ -900,7 +900,7 @@ static struct ov2680_resolution ov2680_res_preview[] = {
{ {
.width = 176, .width = 176,
.height = 144, .height = 144,
.fps = 30, .fps = 60,
.pix_clk_freq = 66, .pix_clk_freq = 66,
.pixels_per_line = 1698,//1704, .pixels_per_line = 1698,//1704,
.lines_per_frame = 1294, .lines_per_frame = 1294,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment