File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 24
24
#define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN
25
25
#endif
26
26
27
- /* 45Mhz * 4 Binning */
28
- #define OV13850_PIXEL_RATE (45 * 1000 * 1000 * 4)
27
+ #define OV13850_LINK_FREQ_300MHZ 300000000
28
+ /* pixel rate = link frequency * 2 * lanes / BITS_PER_SAMPLE */
29
+ #define OV13850_PIXEL_RATE (OV13850_LINK_FREQ_300MHZ * 2 * 2 / 10)
29
30
#define OV13850_XVCLK_FREQ 24000000
30
31
31
32
#define CHIP_ID 0x00d850
@@ -589,7 +590,6 @@ static const struct ov13850_mode supported_modes[] = {
589
590
},
590
591
};
591
592
592
- #define OV13850_LINK_FREQ_300MHZ 300000000
593
593
static const s64 link_freq_menu_items [] = {
594
594
OV13850_LINK_FREQ_300MHZ
595
595
};
Original file line number Diff line number Diff line change 24
24
#define V4L2_CID_DIGITAL_GAIN V4L2_CID_GAIN
25
25
#endif
26
26
27
- /* 45Mhz * 4 Binning */
28
- #define OV4689_PIXEL_RATE (45 * 1000 * 1000 * 4)
27
+ #define OV4689_LINK_FREQ_500MHZ 500000000
28
+ /* pixel rate = link frequency * 2 * lanes / BITS_PER_SAMPLE */
29
+ #define OV4689_PIXEL_RATE (OV4689_LINK_FREQ_500MHZ * 2 * 2 / 10)
29
30
#define OV4689_XVCLK_FREQ 24000000
30
31
31
32
#define CHIP_ID 0x004688
@@ -398,7 +399,6 @@ static const struct ov4689_mode supported_modes[] = {
398
399
},
399
400
};
400
401
401
- #define OV4689_LINK_FREQ_500MHZ 500000000
402
402
static const s64 link_freq_menu_items [] = {
403
403
OV4689_LINK_FREQ_500MHZ
404
404
};
You can’t perform that action at this time.
0 commit comments