[PATCH 0/9] drm/msm: Fix issues with DT bindings

Archit Taneja architt at codeaurora.org
Tue May 3 10:57:52 UTC 2016


Currently, none of the upstream Qualcomm DT files have the display device
nodes populated, even when the DT binding documents are upstream.

I am not aware of all the issues with the bindings which has prevented it
from getting merged, but 2 properties "connectors" (maintains a list of
all the external interfaces (DSI, HDMI etc)) and "gpus" (list of GPU
devices) seem like the ones that can't be merged.

This patch set aligns with the graph bindings to describe the connection
between the display controller block (MDP) and the external encoder
interfaces.

This is similar to the graph bindings used by some of the drivers (imx,
rockchip), but not exactly the same. These drivers expect a top level
"display-subsytem" DT node which lists down the display interface
ports to be used. Our implementation just parses the interface ports
in the MDP node as is, and add the components that are needed. I've
Cc-ed Heiko and Philipp in case they had any comments on this.

The 'gpu' property is removed in a hack-ish way. The driver contains
a list of all the compatible strings for gpus, and searches the
entire OF firmware for a matching node. Once we know what's the
right way to link the gpu and display nodes together (if needed at
all) we can add the required binding.

The rest of the changes are minor cleanups and fixes to prepare the
driver and binding documents before we really start adding the display
nodes.

Archit Taneja (9):
  drm/msm: Get mdss components via parsing ports
  drm/msm: Drop the gpu binding
  drm/msm/mdp: mdp4: Update LCDC/LVDS port parsing
  dt-bindings: msm/mdp: Remove connector and gpu bindings
  dt-bindings: msm/dsi: Some binding doc cleanups
  drm/msm/dsi: Modify port parsing
  drm/msm/dsi: Use generic PHY bindings
  dt-bindings: msm/dsi: Modify port and PHY bindings
  dt-bindings: msm/dsi: Add assigned clocks bindings

 .../devicetree/bindings/display/msm/dsi.txt        | 79 +++++++++++++++------
 .../devicetree/bindings/display/msm/mdp.txt        | 75 ++++++++++++++++++--
 drivers/gpu/drm/msm/dsi/dsi.c                      |  2 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c                 | 10 +--
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c            |  8 ++-
 drivers/gpu/drm/msm/msm_drv.c                      | 80 +++++++++++++++++++---
 6 files changed, 213 insertions(+), 41 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation



More information about the dri-devel mailing list