[PATCH 0/2] clk: add Ambarella CV75 RCT clock controller
From: Long Zhao via B4 Relay
Date: Fri Oct 09 2026 - 07:10:28 EST
Split from the combined CV75 bring-up series.
CLK_AMBARELLA_CV75 depends on ARCH_AMBARELLA || COMPILE_TEST, so the
driver still builds with COMPILE_TEST when the SoC symbol is absent.
The binding uses the ambarella vendor prefix, which is added by the
SoC series and is not in mainline yet; dt_binding_check needs that
prefix. The MAINTAINERS entry for these files is in the SoC series.
Changes since the patches in the combined v9:
- drop the redundant linux/math.h include (Andy)
- use for (unsigned int i = 0; ...) (Andy)
- initialize the spinlock after the allocation succeeds (Andy)
- group the ctrl, frac and ctrl2 offsets in struct cv75_pll_regs (Andy)
Link: https://patch.msgid.link/20261001-cv75-v5-v9-0-486cc289a4b8@xxxxxxxxxxxxx
To: Michael Turquette <mturquette@xxxxxxxxxxxx>
To: Stephen Boyd <sboyd@xxxxxxxxxx>
To: linux-clk@xxxxxxxxxxxxxxx
Cc: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Cc: Conor Dooley <conor+dt@xxxxxxxxxx>
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: Long Zhao <longzhao@xxxxxxxxxxxxx>
Cc: Long Zhao <zl020895@xxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Assisted-by: LLM
Signed-off-by: Long Zhao <longzhao@xxxxxxxxxxxxx>
---
Long Zhao (2):
dt-bindings: clock: add Ambarella CV75 RCT
clk: ambarella: add CV75 RCT clock controller
.../bindings/clock/ambarella,cv75-rct.yaml | 64 ++++
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/ambarella/Kconfig | 9 +
drivers/clk/ambarella/Makefile | 3 +
drivers/clk/ambarella/clk-cv75.c | 361 +++++++++++++++++++++
include/dt-bindings/clock/ambarella,cv75-rct.h | 14 +
7 files changed, 453 insertions(+)
---
base-commit: 34cf6dafc47441dfb6b356a095b89c3585a93714
change-id: 20261007-cv75-clk-f74e1494576a
Best regards,
--
Long Zhao <longzhao@xxxxxxxxxxxxx>