2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 17:53:56 +08:00
linux-next/drivers/clk/qcom
Archit Taneja 811a498e5e 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>
2016-02-29 12:57:06 -08:00
..
clk-alpha-pll.c clk: qcom: Add Alpha PLL support 2015-11-30 18:24:25 -08:00
clk-alpha-pll.h clk: qcom: Add Alpha PLL support 2015-11-30 18:24:25 -08:00
clk-branch.c clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw) 2015-08-24 16:49:12 -07:00
clk-branch.h clk: qcom: Add support for branches/gate clocks 2014-01-16 12:01:01 -08:00
clk-pll.c clk: qcom: Convert to clk_hw based provider APIs 2015-08-24 16:48:52 -07:00
clk-pll.h clk: qcom: Add support for SR2 PLLs 2015-07-07 17:19:58 -07:00
clk-rcg2.c clk: qcom: Add gfx3d ping-pong PLL frequency switching 2015-11-30 18:24:29 -08:00
clk-rcg.c clk: qcom: Fix pre-divider usage for pixel RCG 2016-02-29 12:57:06 -08:00
clk-rcg.h clk: qcom: Add gfx3d ping-pong PLL frequency switching 2015-11-30 18:24:29 -08:00
clk-regmap-divider.c clk: qcom: Add support for regmap divider clocks 2015-01-27 11:49:00 -08:00
clk-regmap-divider.h clk: qcom: Add support for regmap divider clocks 2015-01-27 11:49:00 -08:00
clk-regmap-mux.c clk: qcom: Add simple regmap based muxes 2015-01-27 11:49:09 -08:00
clk-regmap-mux.h clk: qcom: Add simple regmap based muxes 2015-01-27 11:49:09 -08:00
clk-regmap.c clk: qcom: Add a regmap type clock struct 2014-01-16 12:00:58 -08:00
clk-regmap.h clk: qcom: Add a regmap type clock struct 2014-01-16 12:00:58 -08:00
common.c clk: qcom: gdsc: Add support for hierarchical power domains 2016-02-11 16:24:00 -08:00
common.h clk: qcom: common: Add API to register board clocks backwards compatibly 2015-11-16 11:07:06 -08:00
gcc-apq8084.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
gcc-ipq806x.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
gcc-ipq4019.c clk: qcom: Add IPQ4019 Global Clock Controller support 2016-02-25 14:32:12 -08:00
gcc-msm8660.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
gcc-msm8916.c Merge branch 'clk-fixes' into clk-next 2016-02-18 19:17:29 -08:00
gcc-msm8960.c clk: qcom: msm8960: fix ce3_core clk enable register 2016-02-22 14:15:53 -08:00
gcc-msm8974.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
gcc-msm8996.c clk: qcom: gdsc: Add GDSCs in msm8996 GCC 2016-02-11 16:26:19 -08:00
gdsc.c clk: qcom: gdsc: Add support for votable gdscs 2016-02-11 16:24:53 -08:00
gdsc.h clk: qcom: gdsc: Add support for votable gdscs 2016-02-11 16:24:53 -08:00
Kconfig clk: qcom: Add IPQ4019 Global Clock Controller support 2016-02-25 14:32:12 -08:00
lcc-ipq806x.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
lcc-msm8960.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
Makefile clk: qcom: Add IPQ4019 Global Clock Controller support 2016-02-25 14:32:12 -08:00
mmcc-apq8084.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
mmcc-msm8960.c Revert "clk: qcom: Specify LE device endianness" 2016-02-12 14:24:24 -08:00
mmcc-msm8974.c Merge branch 'clk-fixes' into clk-next 2016-02-18 19:17:29 -08:00
mmcc-msm8996.c clk: qcom: gdsc: Add mmcc gdscs for msm8996 family 2016-02-11 16:34:03 -08:00
reset.c clk: qcom: Add reset controller support 2014-01-16 12:01:02 -08:00
reset.h clk: qcom: Add reset controller support 2014-01-16 12:01:02 -08:00