On Wed, Apr 01, 2026 at 12:37:14AM +0300, Vladimir Zapolskiy wrote: > On 2/17/26 02:27, Richard Acayan wrote: > > The IMX355 sensor driver currently supports having 4 data lanes. There > > can't be more or less, so check if the firmware specifies 4 lanes.
This patch is superseded: v10: https://lore.kernel.org/all/[email protected]/ v11: https://lore.kernel.org/all/[email protected]/ If my workflow somehow caused you not to receive the new versions, please let me know. > Does IMX355 sensor hardware support any other number of lanes? Actually, I don't have hardware docs so I don't know. There can't be more or less without driver support. > 1) If no, then it makes no practical sense to check for data lanes number > given by firmware, there can be any stored value, but it's known that the > number of sensor data lanes is 4. > > 2) If yes, then please return to the sensor dt bindings, and reflect any > other options, right now it is set strictly to 4 lanes only. I think more lane configurations in dt-bindings can be added as they are discovered, either by reading hardware docs or by finding a board that has a different number of lanes. > In case if > 'data-lanes' property is omitted, you can use 4 lanes as a default number > of data lanes, and this information shall be documented in the dt bindings. Later revisions of the patch require data-lanes.
