]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: correct i.MX7D AV PLL num/denom offset
authorAnson Huang <anson.huang@nxp.com>
Mon, 22 Apr 2019 08:32:45 +0000 (08:32 +0000)
committerStephen Boyd <sboyd@kernel.org>
Mon, 29 Apr 2019 23:01:50 +0000 (16:01 -0700)
commit8dfc10558966c380c32e838f29a97ee9548502cd
tree0b38b077eceea84a4f98b8810e9b6ec2a7a2bdf6
parent246c5b0104be215d9f61bee899f73bacf3ba0365
clk: imx: correct i.MX7D AV PLL num/denom offset

According reference manual, i.MX7D's audio/video PLL's
num/denom register offset are 0x20/0x30, they are different
from i.MX6's audio/video PLL, correct it by introducing new
offset variables for audio/video PLL and using runtime
assignment based on PLL type.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx7d.c
drivers/clk/imx/clk-pllv3.c
drivers/clk/imx/clk.h