clk: imx: pllv2: Switch to clk_hw based API
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 11 Dec 2019 09:25:44 +0000 (11:25 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Dec 2019 11:19:44 +0000 (19:19 +0800)
commit87052383491c46e302f27a9ec0d7cc249b2f4ef2
tree097e496c8601dc5d67b34b61ca982161975e8e9a
parent556f788010adfd4e06959ded48e7b0d89f9024b8
clk: imx: pllv2: Switch to clk_hw based API

Switch the imx_clk_pllv2 register function to clk_hw based API, rename
accordingly and add a macro for clk based legacy. This allows us to
move closer to a clear split between consumer and provider clk APIs.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-pllv2.c
drivers/clk/imx/clk.h