• Afzal Mohammed's avatar
    ARM: OMAP AM33XX: clock data: SET_RATE_PARENT in lcd path · 0c3c22f9
    Afzal Mohammed authored
    LCDC clock node is a one that does not have set rate capability. It
    just passes on the rate that is sent downstream by it's parent. While
    lcdc clock parent and it's grand parent - dpll_disp_m2_ck and
    dpll_disp_ck has the capability to configure rate.
    
    And the default rates provided by LCDC clock's ancestors are not
    sufficient to obtain pixel clock for current LCDC use cases, hence
    currently display would not work on AM335x SoC's (with driver
    modifications in platfrom independent way).
    
    Hence inform clock framework to propogate set rate for LCDC clock as
    well as it's parent - dpll_disp_m2_ck. With this change, set rate on
    LCDC clock would get propogated till dpll_disp_ck via dpll_disp_m2_ck,
    hence allowing the driver (same driver is used in DaVinci too) to set
    rates using LCDC clock without worrying about platform dependent clock
    details.
    Signed-off-by: default avatarAfzal Mohammed <afzal@ti.com>
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    0c3c22f9
cclock33xx_data.c 28.4 KB