]> Gentwo Git Trees - linux/.git/commit
media: imx-mipi-csis: Support active data lanes differing from maximum
authorIsaac Scott <isaac.scott@ideasonboard.com>
Wed, 29 Oct 2025 18:03:21 +0000 (18:03 +0000)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 13 Nov 2025 09:57:52 +0000 (10:57 +0100)
commite687f5cae591dba4a0a968c24cbe7b6141027d93
treeecf4cfa0d46220fbad5ef2c7ce467a537b25552c
parent5c731dba1d8b92ecb935031cf33dabb2bd6793c4
media: imx-mipi-csis: Support active data lanes differing from maximum

Call on v4l2_get_active_data_lanes() to check if the driver reports that
the number of lanes actively used by the MIPI CSI transmitter differs to
the maximum defined in device tree.

If the number of active data lanes reported by the driver is invalid,
catch and return the error. If the operation is not supported, fall back
to the number of allowed data lanes.

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>
drivers/media/platform/nxp/imx-mipi-csis.c