]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: camera-gb: Extend the configure streams interface
authorEvgeniy Borisov <borisov_evgeniy@projectara.com>
Wed, 6 Apr 2016 12:22:45 +0000 (15:22 +0300)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 12 Apr 2016 01:47:57 +0000 (18:47 -0700)
commitb4905038965fb986d8496e47cc52a08428408ae5
tree4ba3ac977ed07a31319080c5fd90765caa0dc3fa
parentddb10c8acc8554ffb68bdb6d80d0e277e124cb2b
greybus: camera-gb: Extend the configure streams interface

Extending the configure streams interface with CSI params.
Getting CSI frequency data form configure streams response.
 * num_lanes - Number of CSI data lanes
 * clk_freq - CSI clock frequency in Hz
 * lines_per_second - Total number of lines in a second of
transmission (blanking included)

From the AP side we need to know for the CSI speed
configuration. This information is needed for dynamically
bandwidth calculations.

NOTE: Change should be along merged with corresponding
      interface change in kernel:
      "camera: Extend the configure streams
      interface with CSI params"

Signed-off-by: Evgeniy Borisov <eborisov@mm-sol.com>
Reviewed-by: Gjorgji Rosikopulos <grosikopulos@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/camera.c
drivers/staging/greybus/gb-camera.h