mbox series

[v2,0/8] clk: qcom: rpm/rpmh: drop platform names

Message ID 20221130131001.20912-1-dmitry.baryshkov@linaro.org
Headers show
Series clk: qcom: rpm/rpmh: drop platform names | expand

Message

Dmitry Baryshkov Nov. 30, 2022, 1:09 p.m. UTC
Both RPM and RPMH clocks use platform (SoC) as a part of the clock
definition. However there is nothing really SoC-specific in this
part. Using it just leads to confusion and sometimes to duplication of
definitions. Drop the SoC name where it is logical.

Note: the smd-rpm clocks also suffer from the same issue a bit, there
are platform-specific and platform-independent clocks. Corresponding
patches will be sent later if this approach is accepted.

Changes since v1:
- Reworked and split the Soc-name removal patch for RPMH clocks

Dmitry Baryshkov (8):
  clk: qcom: rpmh: group clock definitions together
  clk: qcom: rpmh: reuse common duplicate clocks
  clk: qcom: rpmh: drop all _ao names
  clk: qcom: rpmh: remove platform names from BCM clocks
  clk: qcom: rpmh: rename ARC clock data
  clk: qcom: rpmh: rename VRM clock data
  clk: qcom: rpmh: remove the last traces of the platform usage
  clk: qcom: rpm: drop the platform from clock definitions

 drivers/clk/qcom/clk-rpm.c  | 194 ++++++++---------
 drivers/clk/qcom/clk-rpmh.c | 421 ++++++++++++++++++------------------
 2 files changed, 294 insertions(+), 321 deletions(-)