On 5/4/2016 7:08 PM, Rob Herring wrote: > On Tue, May 03, 2016 at 04:27:56PM +0530, Archit Taneja wrote: >> The MDP DT node now contains a list of ports that describe how it connects >> to external encoder interfaces like DSI and HDMI. These follow the >> standard of_graph bindings, and allow us to get rid of the 'connectors' >> phandle that contained a list of all the external encoders connected to >> MDP. >> >> The GPU phandle is removed too until we figure out what's the right way >> to specify it in DT. > > [...] > >> + For MDP4, the output port mappings are: >> + Port 0 -> LCDC/LVDS >> + Port 1 -> DSI1 Cmd/Video >> + Port 2 -> DSI2 Cmd/Video >> + Port 3 -> DTV >> + >> + For MDP5, the availability of output ports vary across each SoC revision, >> but >> + they generally have the following mapping: >> + Port 0 -> MDP_INTF0 (eDP) >> + Port 1 -> MDP_INTF1 (DSI1) >> + Port 2 -> MDP_INTF2 (DSI2) >> + Port 3 -> MDP_INTF3 (HDMI) >> + >> + See drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.c to see what all INTFs a >> particular >> + SoC revision has enabled. > > The binding doc shouldn't depend on kernel code. You need to document it > here.
Okay. I'll list the available interfaces for each SoC revision. Thanks, Archit -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project