clk: imx: pfdv2: switch to use determine_rate
authorPeng Fan <peng.fan@nxp.com>
Wed, 19 Feb 2020 07:59:47 +0000 (15:59 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 10 Mar 2020 06:01:52 +0000 (14:01 +0800)
commit8ffe9c7bb9e47745b8a678629b22f57b23b8dac5
tree90e41750dcb4770ea86bb2a78b66d0604c711596
parent28b2f82e0383e27476be8a5e13d2aea07ebeb275
clk: imx: pfdv2: switch to use determine_rate

Per clk_ops, compared with round_rate, determine_rate could optionally
support the parent clock that should be used to provide the clock rate.

In this patch, the parent clock is just parent->rate as round_rate.

The following patch will calculate the best parent clock.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-pfdv2.c