Hejssan Niklas, On Sun, May 26, 2024 at 12:07:47AM +0200, Niklas Söderlund wrote: > 1. We could add a new generic property to fulfill the 'lane-polarities' > function for C-PHY, 'lane-polarities-mipi-cphy'. That would only be > valid for C-PHY buses. > > The structure would be the same as for lane-polarities but the items > enum would allow a value from 0-5 for each entry in the array. And we > could define mappings in dt-bindings/media/video-interfaces.h to > allow names in DTS, MEDIA_BUS_CSI2_CPHY_{ABC,CBA,ACB,CAB,BAC,BCA}? > > This feels wrong as we already have 'lane-polarities' and it is used > for CSI-2 D-PHY configurations already. Could you add a property for this called "line-orders" with matching data line order in MIPI DisCo for Imaging specification <URL:https://www.mipi.org/specifications/mipi-disco-imaging>? The polarity isn't a right term here as it's not a differential pair as on D-PHY. -- Hälsningar, Sakari Ailus