mbox series

[v3,00/19] clk: qcom: smd-rpm: drop platform names

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

Message

Dmitry Baryshkov Dec. 9, 2022, 4:48 p.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 v2:
 - Split bindings into a separate patch

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 (19):
  dt-bindings: clocks: qcom: rpmcc: add LN_BB_CLK_PIN clocks
  clk: qcom: smd-rpm: enable pin-controlled ln_bb_clk clocks on qcs404
  clk: qcom: smd-rpm: remove duplication between MMXI and MMAXI defines
  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. 10, 2022, 11:13 a.m. UTC | #1
On 09/12/2022 17:48, Dmitry Baryshkov wrote:
> Add pin-controlled Low-Noise BB clock definition.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Bjorn Andersson Dec. 28, 2022, 7:04 p.m. UTC | #2
On Fri, 9 Dec 2022 18:48:36 +0200, 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 v2:
>  - Split bindings into a separate patch
> 
> [...]

Applied, thanks!

[01/19] dt-bindings: clocks: qcom: rpmcc: add LN_BB_CLK_PIN clocks
        commit: ba796801d2474a4773a6a0ebb94c53c96a294426
[02/19] clk: qcom: smd-rpm: enable pin-controlled ln_bb_clk clocks on qcs404
        commit: 76318d779c83dcc9e74de6fc428366c0dae2803a
[03/19] clk: qcom: smd-rpm: remove duplication between MMXI and MMAXI defines
        commit: c941b98781b348bd63fb8f8b5307b10fde2af0c1
[04/19] clk: qcom: smd-rpm: remove duplication between qcs404 and qcm2290 clocks
        commit: 1bf68a5d6802f4d9a20a9427779f52497f0285c2
[05/19] clk: qcom: smd-rpm: add missing ln_bb_clkN clocks
        commit: 63793efbe6fa0927758b2600ee439e1774321771
[06/19] clk: qcom: smd-rpm: use msm8998_ln_bb_clk2 for qcm2290 SoC
        commit: cf202f811892d415291e605dc79db54a44f9e222
[07/19] clk: qcom: smd-rpm: rename msm8992_ln_bb_* clocks to qcs404_ln_bb_*
        commit: e5ca1b251dc3e6375ca96e8b135fb685420ef97c
[08/19] clk: qcom: smd-rpm: remove duplication between sm6375 and sm6125 clocks
        commit: b1c6f902c0e1c355a7b328237df98c4636c6bb20
[09/19] clk: qcom: smd-rpm: add XO_BUFFER clock for each XO_BUFFER_PINCTRL clock
        commit: 3ab58304f59e216949e18b002bd568b0daee9ae1
[10/19] clk: qcom: smd-rpm: drop the rpm_status_id field
        commit: 406f0577b04ff99b8dafaa110a961cf00daab418
[11/19] clk: qcom: smd-rpm: fix alignment of line breaking backslashes
        commit: 262caca770f579f13bc04b49e296e6060c4ccce5
[12/19] clk: qcom: smd-rpm: move clock definitions together
        commit: 57d44ccecc15e27679499f889c51031f9ffe328e
[13/19] clk: qcom: smd-rpm: rename some msm8974 active-only clocks
        commit: 786f8d18a8d91d98bd03c6ec41213cb52bcfc2cd
[14/19] clk: qcom: smd-rpm: simplify XO_BUFFER clocks definitions
        commit: ff2cd7401d24ab2d2f031cd9d275412cd669f33b
[15/19] clk: qcom: smd-rpm: simplify SMD_RPM/_BRANCH/_QDSS clock definitions
        commit: e3c88f236e8567f3f47412438a957c22594caed7
[16/19] clk: qcom: smd-rpm: rename SMD_RPM_BRANCH clock symbols
        commit: 74419b8869b02e00890a2bba96469533b6d93bf5
[17/19] clk: qcom: smd-rpm: rename the qcm2290 rf_clk3 clocks
        commit: 2b8ddf6b820080649176c5695422548114b03f91
[18/19] clk: qcom: smd-rpm: rename SMD_RPM_BUS clocks
        commit: 598261294658873559b6d37ac3e6a91eb48e2c17
[19/19] clk: qcom: smd-rpm: remove usage of platform name
        commit: e3306941368ae58acf5ba74f6d26653e109e7ef2

Best regards,
Bjorn Andersson Dec. 29, 2022, 5:23 p.m. UTC | #3
On Fri, 9 Dec 2022 18:48:36 +0200, 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 v2:
>  - Split bindings into a separate patch
> 
> [...]

Applied, thanks!

[01/19] dt-bindings: clocks: qcom: rpmcc: add LN_BB_CLK_PIN clocks
        commit: ba796801d2474a4773a6a0ebb94c53c96a294426
[02/19] clk: qcom: smd-rpm: enable pin-controlled ln_bb_clk clocks on qcs404
        commit: 76318d779c83dcc9e74de6fc428366c0dae2803a
[03/19] clk: qcom: smd-rpm: remove duplication between MMXI and MMAXI defines
        commit: c941b98781b348bd63fb8f8b5307b10fde2af0c1
[04/19] clk: qcom: smd-rpm: remove duplication between qcs404 and qcm2290 clocks
        commit: 1bf68a5d6802f4d9a20a9427779f52497f0285c2
[05/19] clk: qcom: smd-rpm: add missing ln_bb_clkN clocks
        commit: 63793efbe6fa0927758b2600ee439e1774321771
[06/19] clk: qcom: smd-rpm: use msm8998_ln_bb_clk2 for qcm2290 SoC
        commit: cf202f811892d415291e605dc79db54a44f9e222
[07/19] clk: qcom: smd-rpm: rename msm8992_ln_bb_* clocks to qcs404_ln_bb_*
        commit: e5ca1b251dc3e6375ca96e8b135fb685420ef97c
[08/19] clk: qcom: smd-rpm: remove duplication between sm6375 and sm6125 clocks
        commit: b1c6f902c0e1c355a7b328237df98c4636c6bb20
[09/19] clk: qcom: smd-rpm: add XO_BUFFER clock for each XO_BUFFER_PINCTRL clock
        commit: 3ab58304f59e216949e18b002bd568b0daee9ae1
[10/19] clk: qcom: smd-rpm: drop the rpm_status_id field
        commit: 406f0577b04ff99b8dafaa110a961cf00daab418
[11/19] clk: qcom: smd-rpm: fix alignment of line breaking backslashes
        commit: 262caca770f579f13bc04b49e296e6060c4ccce5
[12/19] clk: qcom: smd-rpm: move clock definitions together
        commit: 57d44ccecc15e27679499f889c51031f9ffe328e
[13/19] clk: qcom: smd-rpm: rename some msm8974 active-only clocks
        commit: 786f8d18a8d91d98bd03c6ec41213cb52bcfc2cd
[14/19] clk: qcom: smd-rpm: simplify XO_BUFFER clocks definitions
        commit: ff2cd7401d24ab2d2f031cd9d275412cd669f33b
[15/19] clk: qcom: smd-rpm: simplify SMD_RPM/_BRANCH/_QDSS clock definitions
        commit: e3c88f236e8567f3f47412438a957c22594caed7
[16/19] clk: qcom: smd-rpm: rename SMD_RPM_BRANCH clock symbols
        commit: 74419b8869b02e00890a2bba96469533b6d93bf5
[17/19] clk: qcom: smd-rpm: rename the qcm2290 rf_clk3 clocks
        commit: 2b8ddf6b820080649176c5695422548114b03f91
[18/19] clk: qcom: smd-rpm: rename SMD_RPM_BUS clocks
        commit: 598261294658873559b6d37ac3e6a91eb48e2c17
[19/19] clk: qcom: smd-rpm: remove usage of platform name
        commit: e3306941368ae58acf5ba74f6d26653e109e7ef2

Best regards,