[PATCH v2 0/3] phy: qcom-qmp-ufs: add symbol clocks support

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Jul 8 06:13:30 PDT 2022


Register UFS symbol clocks in the Qualcomm QMP PHY driver. Some of the
platforms (msm8996, sc7280, sm8350/sm8450) expect them to be defined (to
be used as GCC clock parents).

Changes since v1:
- Added a macro used by clk-asm9260, so that the clk-fixed-rate changes
  do not affect the driver, requested by Stephen;

- Changed registered clock names to be unique (as e.g. SC8280XP will
  have two UFS PHYs), suggested by Johan.

Dmitry Baryshkov (3):
  clk: asm9260: use new helper for fixed rate clock creation
  clk: fixed-rate: add devm_clk_hw_register_fixed_rate
  phy: qcom-qmp-ufs: provide symbol clocks

 drivers/clk/clk-asm9260.c               |  6 +--
 drivers/clk/clk-fixed-rate.c            | 28 +++++++++++--
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 56 +++++++++++++++++++++++++
 include/linux/clk-provider.h            | 41 ++++++++++++++----
 4 files changed, 116 insertions(+), 15 deletions(-)

-- 
2.35.1




More information about the linux-phy mailing list