MIPI CSI lanes configuration

Hi, I like to configure the number of data lanes in CSI receiver from user level (eg) same driver should work in both 2 lane and 4 lane configuration. What will be the right approach to do it?

hello aswinsaras,

it’s num_lanes device tree property to specify the sensor lane configuration.
you may also refer to Sensor Software Driver Programming Guide for the documentation.