]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-sc7280: use new clk_regmap_phy_mux_ops for PCIe pipe clocks
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 8 Jun 2022 10:52:36 +0000 (13:52 +0300)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 26 Jun 2022 02:36:08 +0000 (21:36 -0500)
commit58f8e22c93f9a354d672da1a55e4687b617c3282
treed47107b8f44f713bc8793a4c5812e66c82ca6951
parentf0286b1cf651dd035ae2c633d004a965f1983978
clk: qcom: gcc-sc7280: use new clk_regmap_phy_mux_ops for PCIe pipe clocks

Use newly defined clk_regmap_phy_mux_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: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220608105238.2973600-4-dmitry.baryshkov@linaro.org
drivers/clk/qcom/gcc-sc7280.c