• Murthy, Raghuveer's avatar
    OMAP4: DSS2: Using dss_features to set independent core clock divider · 0cf35df3
    Murthy, Raghuveer authored
    Using dss_features to select independent core clock divider and setting
    it. Added the register used, to DISPC context save and restore group
    
    -----------------------------------------------------------------------
    In OMAP4, the minimum DISPC_CORE_CLK required can be expressed as:
    
    	DISPC_CORE_CLK >= max(PCLK1*HSCALE1, PCLK2*HSCALE2, ...)
    
    Where PCLKi is the pixel clock generated by MANAGERi and HSCALEi is the
    maximum horizontal downscaling done through MANAGERi
    
    Based on the usecase, core clk can be increased or decreased at runtime
    to save power. Such mechanism are not yet implemented. Hence, we set the
    core clock divisor to 1, to support maximum range of resolutions
    ------------------------------------------------------------------------
    Signed-off-by: default avatarRaghuveer Murthy <raghuveer.murthy@ti.com>
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    0cf35df3
dispc.c 80.7 KB