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. Dmitry Baryshkov (4): clk: qcom: rpmh: group clock definitions together clk: qcom: rpmh: reuse common duplicate clocks clk: qcom: rpmh: drop the platform from clock definitions clk: qcom: rpm: drop the platform from clock definitions drivers/clk/qcom/clk-rpm.c | 194 ++++++++--------- drivers/clk/qcom/clk-rpmh.c | 419 ++++++++++++++++++------------------ 2 files changed, 294 insertions(+), 319 deletions(-) -- 2.35.1