linux/drivers/gpu/drm/msm/dsi
Archit Taneja 32280d66fd drm/msm/dsi: Don't get DSI index from DT
The DSI host and PHY driver currently expects the DT bindings to provide
custom properties "qcom,dsi-host-index" and "qcom,dsi-phy-index" so that
the driver can identify which DSI instance it is.

The binding isn't acceptable, but the driver still needs to figure out
what its instance id. This is now done by storing the mmio starting
addresses for each DSI instance in every SoC version in the driver. The
driver then identifies the index number by trying to match the stored
address with comparing the resource start address we get from DT.

We don't have compatible strings for DSI PHY on each SoC, but only the
DSI PHY type. We only support one SoC version for each PHY type, so we
get away doing the same thing above for the PHY driver. We can revisit
this when we support two SoCs with the same DSI PHY.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-07-16 10:09:02 -04:00
..
phy drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
pll drm/msm/dsi: fix definition of msm_dsi_pll_28nm_8960_init() 2016-03-03 11:55:26 -05:00
dsi_cfg.c drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
dsi_cfg.h drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
dsi_host.c drm/msm/dsi: Don't get DSI index from DT 2016-07-16 10:09:02 -04:00
dsi_manager.c drm/msm: Centralize connector registration/unregistration 2016-05-08 10:22:19 -04:00
dsi.c drm/msm/dsi: Use generic PHY bindings 2016-07-16 10:08:47 -04:00
dsi.h drm/msm/dsi: Fix regulator API abuse 2016-05-08 10:22:17 -04:00
dsi.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
mmss_cc.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00
sfpb.xml.h drm/msm: update generated headers 2016-03-03 11:55:27 -05:00