On 5/18/21 1:02 AM, Laurent Pinchart wrote:
Hi Marek,
Hi,
Thank you for the patch.
On Sat, May 15, 2021 at 10:46:55PM +0200, Marek Vasut wrote:
Decoder input LVDS format is a property of the decoder chip or even
its strapping. Add DT property data-mapping the same way lvds-panel
does, to define the LVDS data mapping.
The information could also be derived by the driver from the compatible
string in the case when this is an intrinsic property of the device (or
when it's configurable by software), but the fact that it can also be
controlled by strapping makes a DT property needed. We may want to limit
the usage of the DT property to the strapping case though, but I don't
have a real preference here, so I'm fine with this approach.
You'd soon end up piling up compatible strings like the panel-simple
does, I don't think that scales. Besides, there are bridges where you
can pick the mapping with a strap, and then the compatible string is no
longer enough.
[...]