From: Wojciech Dubowik <[email protected]> Add support for reversed lvds output lanes. With an optional data-lanes property one can support default layout <1 2 3 4> or reversed layout <4 3 2 1>. The property is optional and when not set it keeps the default output layout.
Signed-off-by: Wojciech Dubowik <[email protected]> --- Changes in v5: - Add an extra patch to simplify error handling in lvds DT parsing suggested by Luca - Fix formatting and description in dt-bindings - Make naming consistent for lane mappings constants - Simplify parsing of data-lanes Changes in v4: - Fix data-lanes bindings to be under endpoint subnode and not in the node itself, discovered by shashiko-reviews Changes in v3: - Add optional data-lanes bindings for output nodes Changes in v2: - Parse existing data-lanes property instead of ading new DT bindings --- Wojciech Dubowik (3): drm/bridge: ti-sn65dsi83: Simplify error condition logic dt-bindings: display: sn65dsi83: Add output data-lanes property drm/bridge: ti-sn65dsi83: Add reversed lvds lanes support .../bindings/display/bridge/ti,sn65dsi83.yaml | 44 ++++++++++++ drivers/gpu/drm/bridge/ti-sn65dsi83.c | 72 +++++++++++-------- 2 files changed, 87 insertions(+), 29 deletions(-) -- 2.47.3
