WSL2-Linux-Kernel/drivers/clk/imx
Abel Vesa a64a9c088b clk: imx: Fix fractional clock set rate computation
Before multiplying by PLL_FRAC_DENOM, the temp64 needs to be
 temp64 = rate * 2 - divfi * parent_rate * 8, instead of:
 temp64 = (rate * 2 - divfi) * parent_rate

Fixes: 6209624b9a ("clk: imx: Add fractional PLL output clock")
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-01-24 11:17:28 -08:00
..
Kconfig Merge branches 'clk-imx7ulp', 'clk-imx6-fixes', 'clk-imx-fixes', 'clk-imx8qxp' and 'clk-imx8mq' into clk-next 2018-12-14 13:34:47 -08:00
Makefile Merge branches 'clk-imx7ulp', 'clk-imx6-fixes', 'clk-imx-fixes', 'clk-imx8qxp' and 'clk-imx8mq' into clk-next 2018-12-14 13:34:47 -08:00
clk-busy.c clk: imx: make mux parent strings const 2018-12-03 11:31:36 -08:00
clk-composite-7ulp.c clk: imx: add imx7ulp composite clk support 2018-12-03 11:31:36 -08:00
clk-composite-8m.c clk: imx: remove redundant initialization of ret to zero 2018-12-10 09:53:13 -08:00
clk-cpu.c clk: imx: cpu clock should be always critical 2018-10-17 08:26:03 -07:00
clk-divider-gate.c clk: imx: add gatable clock divider support 2018-12-03 11:31:23 -08:00
clk-fixup-div.c clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h 2016-01-29 12:59:50 -08:00
clk-fixup-mux.c clk: imx: make mux parent strings const 2018-12-03 11:31:36 -08:00
clk-frac-pll.c clk: imx: Fix fractional clock set rate computation 2019-01-24 11:17:28 -08:00
clk-gate-exclusive.c clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h 2016-01-29 12:59:50 -08:00
clk-gate2.c clk: imx: make clk_ops const 2017-11-01 23:25:49 -07:00
clk-imx1.c ARM: i.MX: Remove i.MX1 non-DT support 2016-08-09 22:47:26 +08:00
clk-imx6q.c Merge branches 'clk-imx7ulp', 'clk-imx6-fixes', 'clk-imx-fixes', 'clk-imx8qxp' and 'clk-imx8mq' into clk-next 2018-12-14 13:34:47 -08:00
clk-imx6sl.c clk: imx6sl: ensure MMDC CH0 handshake is bypassed 2018-12-10 11:34:21 -08:00
clk-imx6sll.c clk: imx6sll: add mmdc1 ipg clock 2018-10-17 11:15:44 -07:00
clk-imx6sx.c clk: imx6sx: add mmdc1 ipg clock 2018-10-17 11:15:32 -07:00
clk-imx6ul.c clk: imx6ul: add mmdc1 ipg clock 2018-10-17 11:15:20 -07:00
clk-imx7d.c clk: imx7d: remove UART1 clock setting 2018-11-06 09:35:37 -08:00
clk-imx7ulp.c clk: imx: imx7ulp: add arm hsrun mode clocks support 2018-12-14 14:03:12 -08:00
clk-imx8mq.c clk: imx: Add clock driver for i.MX8MQ CCM 2018-12-03 10:12:50 -08:00
clk-imx8qxp-lpcg.c clk: imx: fix potential NULL dereference in imx8qxp_lpcg_clk_probe() 2019-01-09 10:34:54 -08:00
clk-imx8qxp-lpcg.h clk: imx: add imx8qxp lpcg driver 2018-12-14 13:01:14 -08:00
clk-imx8qxp.c clk: imx8qxp: make the name of clock ID generic 2018-12-28 10:43:57 -08:00
clk-imx21.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx25.c clk: imx25: Remove osc clock from driver 2015-11-25 11:49:42 +08:00
clk-imx27.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clk-imx31.c ARM: clk: imx31: properly init clocks for machines with DT 2016-11-01 16:44:46 +08:00
clk-imx35.c ARM: clk-imx35: annotate clk enum with number values 2016-09-14 11:28:04 -07:00
clk-imx51-imx53.c clk: imx51-imx53: Include sizes.h to silence compile errors 2018-07-06 14:08:04 -07:00
clk-lpcg-scu.c clk: imx: add lpcg clock support 2018-12-14 13:00:51 -08:00
clk-pfd.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pfdv2.c clk: imx: add pfdv2 support 2018-12-03 11:31:32 -08:00
clk-pllv1.c We have two changes to the core framework this time around. The first being a 2017-11-17 20:04:24 -08:00
clk-pllv2.c clk: imx: pllv2: avoid using uninitialized values 2018-03-16 15:40:41 -07:00
clk-pllv3.c clk: imx7d: Fix the DDR PLL enable bit 2017-06-06 17:42:41 -07:00
clk-pllv4.c clk: imx: add pllv4 support 2018-12-03 11:31:28 -08:00
clk-sccg-pll.c clk: imx: Add SCCG PLL type 2018-12-03 10:13:35 -08:00
clk-scu.c clk: imx: add scu clock common part 2018-12-13 22:15:49 -08:00
clk-scu.h clk: imx: add lpcg clock support 2018-12-14 13:00:51 -08:00
clk-vf610.c clk: imx: constify clk_div_table 2017-08-30 22:30:27 -07:00
clk.c clk: imx: implement new clk_hw based APIs 2018-12-03 11:31:36 -08:00
clk.h Merge branches 'clk-imx7ulp', 'clk-imx6-fixes', 'clk-imx-fixes', 'clk-imx8qxp' and 'clk-imx8mq' into clk-next 2018-12-14 13:34:47 -08:00