diff options
| author | Isaac Scott <isaac.scott@ideasonboard.com> | 2025-10-29 18:03:18 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-11-13 10:57:52 +0100 |
| commit | fd3f646e1c9d783d1f4ef30e5376ccf315a8ae30 (patch) | |
| tree | e2dd234e17621c9f5aa8659b3b35f4cd2d6f7b3a /scripts/livepatch/git@git.tavy.me:linux.git | |
| parent | ca042de64800a0bcc3e0866e4efaa4a657e8ddc9 (diff) | |
media: v4l: Add helper to get number of active lanes via a pad
Sometimes, users will not use all of the MIPI CSI 2 lanes available when
connecting to the MIPI CSI receiver of their device. Add a helper
function that checks the mbus_config for the device driver to allow
users to define the number of active data lanes through the
get_mbus_config op.
If the driver does not implement this op, fall back to using the maximum
number of lanes available.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Isaac Scott <isaac.scott@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'scripts/livepatch/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
