diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-12-31 04:20:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-01-06 17:43:09 -0800 |
commit | 1f67ee5c04c9690c4c99fc4d31f4add46ea7be73 (patch) | |
tree | e6e6866f599d5d5bbbb7eab846431f5b51c45739 /drivers/staging/greybus/camera.c | |
parent | 1e5dd1f8279a8a934b9df7adec47b944fe6b10f4 (diff) | |
download | op-kernel-dev-1f67ee5c04c9690c4c99fc4d31f4add46ea7be73.zip op-kernel-dev-1f67ee5c04c9690c4c99fc4d31f4add46ea7be73.tar.gz |
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/camera.c')
-rw-r--r-- | drivers/staging/greybus/camera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index b181ac4..7be7cfc 100644 --- a/drivers/staging/greybus/camera.c +++ b/drivers/staging/greybus/camera.c @@ -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) { |