OSDN Git Service

clk: qcom: rpmh: Reuse sdm845 clks for sm8150
authorStephen Boyd <sboyd@kernel.org>
Thu, 7 Nov 2019 21:40:18 +0000 (13:40 -0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 8 Nov 2019 21:07:04 +0000 (13:07 -0800)
commitf5790382edef4e97514dc7af75344b06b8cac3ee
treee2b30b4a83497414d7edf085e9f9533ced061170
parent3f7df5baa2593d86c0dd206c3e63a76fce0efa4b
clk: qcom: rpmh: Reuse sdm845 clks for sm8150

The SM8150 list of clks is almost the same as the list for SDM845,
except there isn't an IPA clk. Just point to the SDM845 clks from the
SM8150 list for now so we can reduce the amount of struct bloat in this
driver.

Suggested-by: Vinod Koul <vkoul@kernel.org>
Cc: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20191107214018.184105-1-sboyd@kernel.org
Reviewed-by: Vinod Koul <vkoul@kernel.org>
drivers/clk/qcom/clk-rpmh.c