clk: qcom: a53-pll: Add MSM8939 a53pll support
authorShawn Guo <shawn.guo@linaro.org>
Sun, 4 Jul 2021 02:40:32 +0000 (10:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Aug 2021 01:52:11 +0000 (18:52 -0700)
commit5d9bc010db0a4f5b17b3f5f982a85c49bb911754
treebe995ce8b0384c5a1e5cbe7686be1e4cdba44558
parentf9a6a326f66dfb7d62cef79c6755cc773e5fb8ad
clk: qcom: a53-pll: Add MSM8939 a53pll support

MSM8939 has 3 a53pll clocks with different frequency table for Cluster0,
Cluster1 and CCI.  It adds function qcom_a53pll_get_freq_tbl() to create
pll_freq_tbl from OPP, so that those a53pll frequencies can be defined
in DT with operating-points-v2 bindings rather than being coded in the
driver.  In this case, one compatible rather than three would be needed
for these 3 a53pll clocks.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Link: https://lore.kernel.org/r/20210704024032.11559-5-shawn.guo@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/a53-pll.c