]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: fix pll clock parents
authorDong Aisheng <aisheng.dong@nxp.com>
Wed, 8 Jun 2016 14:33:36 +0000 (22:33 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sun, 12 Jun 2016 13:21:41 +0000 (21:21 +0800)
commit32c3801899f1b980a2d13d8add50d93ff98585b7
tree16114810176382e8255a504e5f41d58e905fbc44
parent7ccae51a8c445bb558796895e14caee08a652488
clk: imx: fix pll clock parents

pllx_bypass_src mux shouldn't be the parent of pllx clock
since it's only valid when when pllx BYPASS bit is set.
Thus it is actually one parent of pllx_bypass only.

Instead, pllx parent should be fixed to osc according to
reference manual.
Other plls have the same issue.

e.g. before fix, the pll tree is:
osc                                      6            6    24000000          0 0
   pll1_bypass_src                       0            0    24000000          0 0
      pll1                               0            0   792000000          0 0
         pll1_bypass                     0            0   792000000          0 0
            pll1_sys                     0            0   792000000          0 0

After the fix, it's:
osc                                      6            6    24000000          0 0
   pll1                                  0            0   792000000          0 0
      pll1_bypass                        0            0   792000000          0 0
         pll1_sys                        0            0   792000000          0 0

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx6q.c
drivers/clk/imx/clk-imx6sl.c
drivers/clk/imx/clk-imx6sx.c
drivers/clk/imx/clk-imx6ul.c
drivers/clk/imx/clk-imx7d.c