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)
commitb4a4cb5a0454cf48559d92cd1e8fb04d57194514
tree0b38b077eceea84a4f98b8810e9b6ec2a7a2bdf6
parent6ff46d77ca75a52ec876e085f60e944e5722ebb1
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