• Jingoo Han's avatar
    video: s3c-fb: Add support EXYNOS4 FIMD · b5480ed7
    Jingoo Han authored
    This patch adds struct s3c_fb_driverdata s3c_fb_data_exynos4 for EXYNOS4
    and adds lcd clock gating support.
    
    FIMD driver needs two clocks for FIMD IP and LCD pixel clock. Previously,
    both clocks are provided by using bus clock such as HCLK. However, EXYNOS4
    can not select HCLK for LCD pixel clock because the EXYNOS4 FIMD IP does not
    have the CLKSEL bit of VIDCON0. So, FIMD driver should provide the lcd clock
    using SCLK_FIMD as LCD pixel clock for EXYNOS4.
    
    The driver selects enabling lcd clock according to has_clksel which means
    the CLKSEL bit of VIDCON0. If there is has_clksel, the driver will not
    enable the lcd clock using SCLK_FIMD because bus clock using HCLK is used
    a LCD pixel clock.
    Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
    Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
    b5480ed7
s3c-fb.c 49.7 KB