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@xxxxxxxxxxx/ To: Bjorn Andersson <andersson@xxxxxxxxxx> To: Michael Turquette <mturquette@xxxxxxxxxxxx> To: Stephen Boyd <sboyd@xxxxxxxxxx> To: Rob Herring <robh@xxxxxxxxxx> To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx> To: Conor Dooley <conor+dt@xxxxxxxxxx> To: Vinod Koul <vkoul@xxxxxxxxxx> To: Vladimir Zapolskiy <vladimir.zapolskiy@xxxxxxxxxx> To: Jagadeesh Kona <quic_jkona@xxxxxxxxxxx> To: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> To: Konrad Dybcio <konradybcio@xxxxxxxxxx> To: Taniya Das <quic_tdas@xxxxxxxxxxx> Cc: linux-arm-msm@xxxxxxxxxxxxxxx Cc: linux-clk@xxxxxxxxxxxxxxx Cc: devicetree@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: linux@xxxxxxxxxxxxxx Signed-off-by: Danila Tikhonov <danila@xxxxxxxxxxx> 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(-) -- 2.46.0