]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx8mq: Fix the CLKO2 source select list
authorFabio Estevam <festevam@gmail.com>
Wed, 30 Jan 2019 19:21:02 +0000 (17:21 -0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 21 Feb 2019 20:41:17 +0000 (12:41 -0800)
commitb9287c4aba0bd278bf7050028cdf4d52017764a7
tree7c6d816d248255e0e1affcea32d74a407965d49b
parent237e58601c6c2fb8ab74ab46e072b716d94f6709
clk: imx8mq: Fix the CLKO2 source select list

The CLKO2 clock source select list is the following as per the i.MX8M
Reference Manual:

000 - 25M_REF_CLK
001 - SYSTEM_PLL2_DIV5
010 - SYSTEM_PLL1_DIV2
011 - SYSTEM_PLL2_DIV6
100 - SYSTEM_PLL3_CLK
101 - AUDIO_PLL1_CLK
110 - VIDEO_PLL1_CLK
111 - 32K_REF_CLK

However, in imx8mq_clko2_sels[] only the first four entries are correct.

Fix it by adding the missing "sys3_pll2_out" entry in order to match
the description from the manual.

Fixes: 27e3d2b955641 ("clk: imx: Add clock driver for i.MX8MQ CCM")
Reported-by: Rogerio Pimentel <rogerio.silva@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx8mq.c