media: i2c: imx214: Check number of lanes from device tree
authorAndré Apitzsch <git@apitzsch.eu>
Fri, 20 Dec 2024 13:26:05 +0000 (14:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:58:53 +0000 (07:58 +0200)
commit5a5ab62e4a76e196e78d2cdb0d323171dd3563b7
tree8ef587420fb546a4cd7559530532d635da7bc9f4
parent2a60b6bef4365e9f4342775c2689acb21db20658
media: i2c: imx214: Check number of lanes from device tree

[ Upstream commit 3d55f4eb03fce69f3a72615fe9c5ca171f7b846b ]

The imx214 camera is capable of either two-lane or four-lane operation.

Currently only the four-lane mode is supported, as proper pixel rates
and link frequences for the two-lane mode are unknown.

Acked-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: André Apitzsch <git@apitzsch.eu>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Stable-dep-of: acc294519f17 ("media: i2c: imx214: Fix link frequency validation")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/imx214.c