Some MIPI CSI-2 transmitters, such as TC358743 can dynamically change the number of active data lanes depending on the bandwidth needs for the selected video format. This patchset adds a subdevice video operation g_csi_active_lanes() to let the MIPI CSI-2 receiver query the number of active lanes and change its configuration accordingly. Changes since v3 [1]: - Add g_csi_active_lanes() subdevice video operation, implement it in tc358743, and use it in imx6-mipi-csi2. [1] https://patchwork.linuxtv.org/patch/53331/ regards Philipp Philipp Zabel (3): media: v4l2-subdev: add g_csi_active_lanes() op media: tc358743: fix connected/active CSI-2 lane reporting media: imx: ask source subdevice for number of active data lanes drivers/media/i2c/tc358743.c | 44 ++++++++++++++++------ drivers/staging/media/imx/imx6-mipi-csi2.c | 8 ++-- include/media/v4l2-subdev.h | 3 ++ 3 files changed, 39 insertions(+), 16 deletions(-) -- 2.20.1