drm/msm/dsi: Modify port parsing
authorArchit Taneja <architt@codeaurora.org>
Wed, 27 Apr 2016 10:06:53 +0000 (15:36 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:08:46 +0000 (10:08 -0400)
commitb9ac76f6ac984158175f8928d10bc1a7038b699b
tree8cd46b7d7719324c6abb088b1d1a3f62fb58dae7
parent1f238536ae37b179e8beb679bcd0b7259eb5e886
drm/msm/dsi: Modify port parsing

The DSI interface is going to have two ports defined in its device node.
The first port is always going to be the link between the MDP output
and the input to DSI, the second port is going to be the link between
the DSI output and the connected panel/bridge:

 -----           -----           -------
| MDP | ------> | DSI | ------> | Panel |
 -----           -----           -------
        (Port 0)       (Port 1)

Until now, there was only one Port representing the output. Update the
DSI host driver such that it parses Port #1 for a connected device.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c