]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24d013dbd2e58a8c4d6bb2aee3b2fdab8b834273
treeac4765639136fec3b475a72d52020fe440ecf54e
parentd7db52e1a2eb56ec14339b8a7d5c1c4dc1c864cb
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