mbox series

[v2,00/10] Add SM8475 clock controller drivers

Message ID 20240818204348.197788-1-danila@jiaxyga.com (mailing list archive)
Headers show
Series Add SM8475 clock controller drivers | expand

Message

Danila Tikhonov Aug. 18, 2024, 8:43 p.m. UTC
This series adds support for SM8475 to SM8450 clock controller drivers.
Was tested on Nothing Phone (2) aka nothing-pong.

Based on this downstream commit:
https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/commit/b051ec6bdc4b4884905002b2e75753e6f1238d20

Changes in v2:
 - Add prefix to SM8475-specific clocks (Patches 1, 2 - Krzysztof).
 - Define new PLL configs instead of fixing existing ones (Patches 4, 6,
9, 10 - Dmitry).
 - Drop symlinks to headers (Patches 1, 3, 5, 7, 9 - Krzysztof &
Vladimir).
 - Use SM8475 as a prefix at the beginning of structure names for greater
clarity (Patches 2, 4, 6, 9, 10).
 - Link to v1:
https://lore.kernel.org/all/20240731175919.20333-1-danila@jiaxyga.com/

To: Bjorn Andersson <andersson@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>
To: Stephen Boyd <sboyd@kernel.org>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Vinod Koul <vkoul@kernel.org>
To: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
To: Jagadeesh Kona <quic_jkona@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Konrad Dybcio <konradybcio@kernel.org>
To: Taniya Das <quic_tdas@quicinc.com>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-clk@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux@mainlining.org
Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>

Danila Tikhonov (10):
  dt-bindings: clock: qcom,gcc-sm8450: Add SM8475 GCC bindings
  clk: qcom: gcc-sm8450: Add SM8475 support
  dt-bindings: clock: qcom,sm8450-dispcc: Add SM8475 DISPCC bindings
  clk: qcom: dispcc-sm8450: Add SM8475 support
  dt-bindings: clock: qcom,sm8450-gpucc: Add SM8475 GPUCC bindings
  clk: qcom: gpucc-sm8450: Add SM8475 support
  dt-bindings: clock: qcom,sm8450-videocc: Add SM8475 VIDEOCC bindings
  clk: qcom: videocc-sm8450: Add SM8475 support
  dt-bindings: clock: qcom,sm8450-camcc: Add SM8475 CAMCC bindings
  clk: qcom: camcc-sm8450: Add SM8475 support

 .../bindings/clock/qcom,gcc-sm8450.yaml       |   4 +-
 .../bindings/clock/qcom,sm8450-camcc.yaml     |   1 +
 .../bindings/clock/qcom,sm8450-dispcc.yaml    |   1 +
 .../bindings/clock/qcom,sm8450-gpucc.yaml     |   1 +
 .../bindings/clock/qcom,sm8450-videocc.yaml   |   1 +
 drivers/clk/qcom/Kconfig                      |  12 +-
 drivers/clk/qcom/camcc-sm8450.c               | 294 +++++++++++++++++-
 drivers/clk/qcom/dispcc-sm8450.c              |  66 +++-
 drivers/clk/qcom/gcc-sm8450.c                 | 181 ++++++++++-
 drivers/clk/qcom/gpucc-sm8450.c               |  50 ++-
 drivers/clk/qcom/videocc-sm8450.c             |  48 ++-
 include/dt-bindings/clock/qcom,gcc-sm8450.h   |   3 +
 12 files changed, 634 insertions(+), 28 deletions(-)

Comments

Bjorn Andersson Oct. 7, 2024, 2:25 p.m. UTC | #1
On Sun, 18 Aug 2024 23:43:38 +0300, Danila Tikhonov wrote:
> This series adds support for SM8475 to SM8450 clock controller drivers.
> Was tested on Nothing Phone (2) aka nothing-pong.
> 
> Based on this downstream commit:
> https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/commit/b051ec6bdc4b4884905002b2e75753e6f1238d20
> 
> Changes in v2:
>  - Add prefix to SM8475-specific clocks (Patches 1, 2 - Krzysztof).
>  - Define new PLL configs instead of fixing existing ones (Patches 4, 6,
> 9, 10 - Dmitry).
>  - Drop symlinks to headers (Patches 1, 3, 5, 7, 9 - Krzysztof &
> Vladimir).
>  - Use SM8475 as a prefix at the beginning of structure names for greater
> clarity (Patches 2, 4, 6, 9, 10).
>  - Link to v1:
> https://lore.kernel.org/all/20240731175919.20333-1-danila@jiaxyga.com/
> 
> [...]

Applied, thanks!

[02/10] clk: qcom: gcc-sm8450: Add SM8475 support
        commit: 20e06dc8c97010c36dd608fbfbed07272f621e1a
[04/10] clk: qcom: dispcc-sm8450: Add SM8475 support
        commit: 7c0e8764dc3381bc51e76dea9a430f3330a90b08
[06/10] clk: qcom: gpucc-sm8450: Add SM8475 support
        commit: 0b71e3b03b9625d3ec909b8b1c305bb0ca506558
[08/10] clk: qcom: videocc-sm8450: Add SM8475 support
        commit: f7f4afdd9f8b4aa263a6113dcff7097514ef7894
[10/10] clk: qcom: camcc-sm8450: Add SM8475 support
        commit: b815ccf5bfcf95dc2c0a9a421278e0060df35a63

Best regards,