• Archit Taneja's avatar
    drm/msm/mdp5: Add MDSS top level driver · 990a4007
    Archit Taneja authored
    SoCs that contain MDP5 have a top level wrapper called MDSS that manages
    clocks, power and irq for the sub-blocks within it.
    
    Currently, the MDSS portions are stuffed into the MDP5 driver. This makes
    it hard to represent the DT bindings in the correct way. We create a top
    level MDSS helper that handles these parts. This is essentially moving out
    some of the mdp5_kms irq code and MDSS register space and keeping it as a
    separate entity. We haven't given any clocks to the top level MDSS yet,
    but a AHB clock would be added in the future to access registers.
    
    One thing to note is that the resources allocated by this helper are
    tied to the top level platform_device (the one that allocates the
    drm_device struct too). This device would be the parent to MDSS
    sub-blocks like MDP5, DSI, eDP etc.
    Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
    Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
    990a4007
Makefile 1.98 KB