Commit 1f67ee5c authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Greg Kroah-Hartman

greybus: camera: Raise the CSI-2 bandwidth

Use 4 lanes at 960MHz to support camera modules requiring higher
bandwidths until we implement support for dynamic bandwidth calculation.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 1e5dd1f8
......@@ -152,8 +152,8 @@ static int gb_camera_configure_streams(struct gb_camera *gcam,
if (nstreams && !(resp->flags & GB_CAMERA_CONFIGURE_STREAMS_ADJUSTED)) {
csi_cfg.csi_id = 1;
csi_cfg.clock_mode = 0;
csi_cfg.num_lanes = 2;
csi_cfg.bus_freq = 250000000;
csi_cfg.num_lanes = 4;
csi_cfg.bus_freq = 960000000;
ret = es2_ap_csi_setup(gcam->connection->hd, true, &csi_cfg);
} else if (nstreams == 0) {
......
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