summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Makefile
diff options
context:
space:
mode:
authorArchit Taneja <architt@codeaurora.org>2016-02-28 11:07:17 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-02-29 21:57:06 +0100
commit811a498e5e9ab802cbd23a8ef9c844ec92450fa4 (patch)
treeb869f7a6bfd55c6f85e18347af59e9feb2fe000b /drivers/clk/Makefile
parentclk: h8300: Properly cast to __iomem pointer (diff)
downloadlinux-811a498e5e9ab802cbd23a8ef9c844ec92450fa4.tar.xz
linux-811a498e5e9ab802cbd23a8ef9c844ec92450fa4.zip
clk: qcom: Fix pre-divider usage for pixel RCG
The clk_rcg_pixel_set_rate clk_op sets up the pre-divider by reading its current value from the NS register. Using the pre-divider wasn't really intended when creating these ops. The pixel RCG was only intended to achieve fractional multiplication provided in the pixel_table array. Leaving the pre-divider to the existing register value results in a wrong pixel clock when the bootloader sets up the display. This was left unidentified because the IFC6410 Plus board on which this was verified didn't have a bootloader that configured the display. Don't set the RCG pre-divider in freq_tbl to the existing NS register value. Force it to 1 and only use the M/N counter to achieve the desired fractional multiplication. Cc: Vinay Simha <vinaysimha@inforcecomputing.com> Signed-off-by: Archit Taneja <architt@codeaurora.org> Tested-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/Makefile')
0 files changed, 0 insertions, 0 deletions