mbox series

[v2,00/18] clk: qcom: smd-rpm: drop platform names

Message ID 20221207001503.93790-1-dmitry.baryshkov@linaro.org (mailing list archive)
Headers show
Series clk: qcom: smd-rpm: drop platform names | expand

Message

Dmitry Baryshkov Dec. 7, 2022, 12:14 a.m. UTC
This series concludes the previous work on Qualcomm RPM and RPMH clock
drivers. It reworks the clk-smd-rpm driver to drop the SoC name from the
clock symbol name, as the clock definitions are shared between different
SoCs (platforms). Having an SoC name in the clock definition can lead to
all sources of confusion and/or errors.

Changes since v1:
 - Split the MMXI/MMAXI and sm6375 vs sm6125 changes into two different
   patches
 - Reworked macro definitions and usage to remove empty arguments
 - Dropped qcm2290_bimc_gpu_clk definition in the corresponding patch
 - Alignment fixes

Dmitry Baryshkov (18):
  clk: qcom: smd-rpm: remove duplication between MMXI and MMAXI defines
  clk: qcom: smd-rpm: enable pin-controlled ln_bb_clk clocks on qcs404
  clk: qcom: smd-rpm: remove duplication between qcs404 and qcm2290
    clocks
  clk: qcom: smd-rpm: add missing ln_bb_clkN clocks
  clk: qcom: smd-rpm: use msm8998_ln_bb_clk2 for qcm2290 SoC
  clk: qcom: smd-rpm: rename msm8992_ln_bb_* clocks to qcs404_ln_bb_*
  clk: qcom: smd-rpm: remove duplication between sm6375 and sm6125
    clocks
  clk: qcom: smd-rpm: add XO_BUFFER clock for each XO_BUFFER_PINCTRL
    clock
  clk: qcom: smd-rpm: drop the rpm_status_id field
  clk: qcom: smd-rpm: fix alignment of line breaking backslashes
  clk: qcom: smd-rpm: move clock definitions together
  clk: qcom: smd-rpm: rename some msm8974 active-only clocks
  clk: qcom: smd-rpm: simplify XO_BUFFER clocks definitions
  clk: qcom: smd-rpm: simplify SMD_RPM/_BRANCH/_QDSS clock definitions
  clk: qcom: smd-rpm: rename SMD_RPM_BRANCH clock symbols
  clk: qcom: smd-rpm: rename the qcm2290 rf_clk3 clocks
  clk: qcom: smd-rpm: rename SMD_RPM_BUS clocks
  clk: qcom: smd-rpm: remove usage of platform name

 drivers/clk/qcom/clk-smd-rpm.c         | 1441 ++++++++++++------------
 include/dt-bindings/clock/qcom,rpmcc.h |    2 +
 include/linux/soc/qcom/smd-rpm.h       |    1 -
 3 files changed, 723 insertions(+), 721 deletions(-)

Comments

Krzysztof Kozlowski Dec. 9, 2022, 4:15 p.m. UTC | #1
On 07/12/2022 01:14, Dmitry Baryshkov wrote:
> This series concludes the previous work on Qualcomm RPM and RPMH clock
> drivers. It reworks the clk-smd-rpm driver to drop the SoC name from the
> clock symbol name, as the clock definitions are shared between different
> SoCs (platforms). Having an SoC name in the clock definition can lead to
> all sources of confusion and/or errors.
> 
> Changes since v1:
>  - Split the MMXI/MMAXI and sm6375 vs sm6125 changes into two different
>    patches
>  - Reworked macro definitions and usage to remove empty arguments
>  - Dropped qcm2290_bimc_gpu_clk definition in the corresponding patch
>  - Alignment fixes
> 
> Dmitry Baryshkov (18):
>   clk: qcom: smd-rpm: remove duplication between MMXI and MMAXI defines
>   clk: qcom: smd-rpm: enable pin-controlled ln_bb_clk clocks on qcs404
>   clk: qcom: smd-rpm: remove duplication between qcs404 and qcm2290
>     clocks
>   clk: qcom: smd-rpm: add missing ln_bb_clkN clocks
>   clk: qcom: smd-rpm: use msm8998_ln_bb_clk2 for qcm2290 SoC
>   clk: qcom: smd-rpm: rename msm8992_ln_bb_* clocks to qcs404_ln_bb_*
>   clk: qcom: smd-rpm: remove duplication between sm6375 and sm6125
>     clocks
>   clk: qcom: smd-rpm: add XO_BUFFER clock for each XO_BUFFER_PINCTRL
>     clock
>   clk: qcom: smd-rpm: drop the rpm_status_id field
>   clk: qcom: smd-rpm: fix alignment of line breaking backslashes
>   clk: qcom: smd-rpm: move clock definitions together
>   clk: qcom: smd-rpm: rename some msm8974 active-only clocks
>   clk: qcom: smd-rpm: simplify XO_BUFFER clocks definitions
>   clk: qcom: smd-rpm: simplify SMD_RPM/_BRANCH/_QDSS clock definitions
>   clk: qcom: smd-rpm: rename SMD_RPM_BRANCH clock symbols
>   clk: qcom: smd-rpm: rename the qcm2290 rf_clk3 clocks
>   clk: qcom: smd-rpm: rename SMD_RPM_BUS clocks
>   clk: qcom: smd-rpm: remove usage of platform name
> 
>  drivers/clk/qcom/clk-smd-rpm.c         | 1441 ++++++++++++------------
>  include/dt-bindings/clock/qcom,rpmcc.h |    2 +

Please automate getting email addresses for sending emails.

Best regards,
Krzysztof