• Andy Gross's avatar
    staging: drm/omap: Get DMM resources from hwmod · 5c137797
    Andy Gross authored
    This patch splits the DMM off into a separate sub-device, in order to
    utilize the platform device information that was created as part of
    the OMAP hwmod entry for the DMM.
    
    The driver probe function queries the iomem resource and IRQ using
    standard platform_get functions.
    
    The OMAP DRM driver now calls the platform_driver_register() function
    for the subordinate DMM driver inside its probe function.  This
    guarantees the required order for the DMM and ensures the DMM resources
    are available for use by the DRM driver.
    Signed-off-by: default avatarAndy Gross <andy.gross@ti.com>
    Signed-off-by: default avatarRob Clark <rob@ti.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    5c137797
omap_drv.c 20.5 KB