summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorSandy Huang <hjc@rock-chips.com>2019-01-18 14:34:31 +0800
committerTao Huang <huangtao@rock-chips.com>2019-01-22 10:47:31 +0800
commitafb13c8c81b0950cd8ea2ba2fac28fb824c288d8 (patch)
treee4f8da918378699486a5cf218871f3799465f5e1 /drivers/media
parent86c809d4c4fe0024c64d53cd34e79d8ea51ee4fa (diff)
media/i2c: virtual-camera: add more frequency
add 4096x2048 for 512 pixel align add 5760x1080 equal to rgb888 1920*3 x 1080 Change-Id: I03e9ecc77524fe27b1b17608458c14d368e14ad8 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/i2c/virtual-camera.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/i2c/virtual-camera.c b/drivers/media/i2c/virtual-camera.c
index b01903e07015..1a9e04f728a8 100644
--- a/drivers/media/i2c/virtual-camera.c
+++ b/drivers/media/i2c/virtual-camera.c
@@ -119,10 +119,20 @@ static const struct output_mode supported_modes[] = {
.hts_def = 4300,
.vts_def = 2400,
}, {
+ .width = 4096,
+ .height = 2048,
+ .hts_def = 4300,
+ .vts_def = 2400,
+ }, {
.width = 5120,
.height = 2880,
.hts_def = 5800,
.vts_def = 3100,
+ }, {
+ .width = 5760,
+ .height = 1080,
+ .hts_def = 6400,
+ .vts_def = 1300,
},
};