]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-sc7280: use new clk_regmap_mux_safe_ops for PCIe pipe clocks
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 23 Mar 2022 08:50:08 +0000 (11:50 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 Apr 2022 18:32:58 +0000 (13:32 -0500)
commit86f1dcd24c61b36992a956b2122e9f2b1eff3a44
treece13b0de6f481098d4f0a17b75d2fce86cafa6c0
parent6355b5ce9153e15240af0e5280b97e25c3d420c8
clk: qcom: gcc-sc7280: use new clk_regmap_mux_safe_ops for PCIe pipe clocks

Use newly defined clk_regmap_mux_safe_ops for PCIe pipe clocks to let
the clock framework automatically park the clock when the clock is
switched off and restore the parent when the clock is switched on.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220323085010.1753493-4-dmitry.baryshkov@linaro.org
drivers/clk/qcom/gcc-sc7280.c