OSDN Git Service

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)
commit553d12b20c10953617cc195f9e447a177c776f9d
treed47107b8f44f713bc8793a4c5812e66c82ca6951
parent7ee9d2e8b9c9f4a829cd2d77c8cba36c514f24ba
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