OSDN Git Service

drm/msm/dsi: Parse DSI lanes via DT
authorArchit Taneja <architt@codeaurora.org>
Thu, 25 Feb 2016 05:49:48 +0000 (11:19 +0530)
committerRob Clark <robdclark@gmail.com>
Thu, 3 Mar 2016 16:55:20 +0000 (11:55 -0500)
commit26f7d1f4d9ab108b28b8d0f340b98941073c6f4d
treeac4765639136fec3b475a72d52020fe440ecf54e
parent52cde8dc8fb3461a3ad438188984ff29f8fa29b8
drm/msm/dsi: Parse DSI lanes via DT

The DSI driver is currently unaware of how the DSI physical data lanes
are mapped to the logical lanes provided by the DSI controller.

Create a DT binding "qcom,data-lane-map" that provides this information
on a given platform.

The MSM DSI controller is restricted in terms of what all mappings
it can support. The lane polarity is fixed for all the lanes, the clock
lanes are fixed, and the data lanes can be swapped among each other only
for a few combinations. Apply these restrictions when we parse the DT
data.

Cc: devicetree@vger.kernel.org
Cc: Rob Herring <robh@kernel.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/msm/dsi.txt
drivers/gpu/drm/msm/dsi/dsi_host.c