clk: thead: support changing DPU pixel clock rate
The DPU pixel clock rate corresponds to the required dot clock of the display mode, so it needs to be tweakable. Add support to change it, by adding generic divider setting code, arming the code to the dpu0/dpu1 clocks, and setting the pixel clock connected to the DPU (after a gate) to CLK_SET_RATE_PARENT to propagate it to the dividers. Signed-off-by:Icenowy Zheng <uwu@icenowy.me> Reviewed-by:
Drew Fustini <fustini@kernel.org> Signed-off-by:
Drew Fustini <fustini@kernel.org>
Loading
Please sign in to comment