clk: qcom: rpmh: support separate symbol name for the RPMH clocks
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 2 Dec 2022 18:58:40 +0000 (20:58 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 2 Dec 2022 19:59:11 +0000 (13:59 -0600)
commit49e4aa233c6c239f814e8872d6757455e49e8106
treed2d407856377aa94d987a377abd89f42ba18c497
parentfe20294f4b7b180acc1ab7dcb7feff8601c76d7d
clk: qcom: rpmh: support separate symbol name for the RPMH clocks

Both ARC and VRM clocks have minor differences between platforms.
However using SoC names directly results in duplication, confusion and
occasional errors. Next patches are going to drop the SoC names and
encode these differences into the clock names.
To keep the system clock names (visible to userspace) intact, add
separate symbol names that are used in the code.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221202185843.721673-6-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-rpmh.c