Skip to content

arm64: add Ambarella CV75 SoC support

Long Zhao b4-sent linux-arm-kernel linux-clk linux-devicetree lkml soc 4 versions – In review

Get series with b4
b4 am [email protected] change-id 20261007-cv75-soc-e628f357f066

Versions newest first

  1. v12 Latest6 patches 3 repliesIn review 5 of 6 applied
  2. v115 patches 11 repliesSuperseded
  3. v105 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches2 repliesApplied

Changes in v12 from the cover letter

- Split ARCH_AMBARELLA out of the EVK DT patch into its own patch, right after the two dt-bindings, so an immutable branch can carry the bindings and this symbol. The CV75 device tree and defconfig stay a separate patch. (Brian)
- Link to v11:
https://patch.msgid.link/[email protected]

Patches in v12 5 of 6 applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: arm: add Ambarella CV75 platformsDocumentation/devicetree/bindings/arm/ambarella.yaml+24 -00 repliesApplied
2/6dt-bindings: clock: add Ambarella CV75 RCTDocumentation/devicetree/bindings/clock/ambarella,cv75-rct.yaml include/dt-bindings/clock/ambarella,cv75-rct.h+78 -00 repliesApplied
3/6arm64: add ARCH_AMBARELLAarch/arm64/Kconfig.platforms+6 -00 repliesApplied
4/6clk: ambarella: add CV75 RCT clock controllerdrivers/clk/Kconfig drivers/clk/Makefile drivers/clk/ambarella/Kconfig +2 more+374 -01 reply
5/6arm64: dts: ambarella: add CV75 SoC and EVKarch/arm64/boot/dts/Makefile arch/arm64/boot/dts/ambarella/Makefile arch/arm64/boot/dts/ambarella/cv75-evk.dts +2 more+212 -00 repliesApplied
6/6MAINTAINERS: add ARM/AMBARELLA SoC supportMAINTAINERS+14 -00 repliesApplied

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijKrzysztof Kozlowski
1/6R-b R-b
2/6R-b
3/6R-b
4/6
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v12 thread

Cover letter [PATCH v12 0/6] arm64: add Ambarella CV75 SoC support

Add the Ambarella CV75 SoC and EVK support: the board binding, the RCT clock binding and driver, ARCH_AMBARELLA, the devicetree and MAINTAINERS.

Apply the patches in this order:

1. board binding
2. RCT clock binding and clock ID header
3. ARCH_AMBARELLA
4. RCT clock driver
5. CV75 SoC and EVK device tree, plus defconfig
6. MAINTAINERS

The ambarella vendor prefix and the CV75 secure scratchpad syscon binding are already in linux-next. This series does not repeat either of them.

GPIO, UART and pinctrl bindings and drivers are separate series. This devicetree references those compatibles.

Tested on the CV75 EVK. The board boots. That boot used a local tree that also includes the GPIO, UART and pinctrl patches.

To: Arnd Bergmann <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Alexandre Belloni <[email protected]>
To: [email protected]
To: [email protected]
To: Michael Turquette <[email protected]>
To: Stephen Boyd <[email protected]>
Cc: Jerome Brunet <[email protected]>
Cc: [email protected]
Cc: Brian Masney <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: Long Zhao <[email protected]>
Cc: Long Zhao <[email protected]>
Cc: [email protected]

---
Changes in v12:
- Split ARCH_AMBARELLA out of the EVK DT patch into its own patch, right after the two dt-bindings, so an immutable branch can carry the bindings and this symbol. The CV75 device tree and defconfig stay a separate patch. (Brian)
- Link to v11:
https://patch.msgid.link/[email protected]

Changes in v11:
- clk: use builtin_platform_driver(). The Kconfig symbol is bool. (Brian)
- clk: drop CLK_IS_CRITICAL from the core PLL. It has no enable op. (Brian)
- clk: drop the misleading (u64) cast in the div_u64() call. (Brian)
- clk: add .suppress_bind_attrs = true to block sysfs unbind. (Brian)
- clk: drop MODULE_AUTHOR. (Brian)
- Link to v10:
https://patch.msgid.link/[email protected]

---
Long Zhao (6):
dt-bindings: arm: add Ambarella CV75 platforms
dt-bindings: clock: add Ambarella CV75 RCT
arm64: add ARCH_AMBARELLA
clk: ambarella: add CV75 RCT clock controller
arm64: dts: ambarella: add CV75 SoC and EVK
MAINTAINERS: add ARM/AMBARELLA SoC support

 .../devicetree/bindings/arm/ambarella.yaml         |  24 ++
 .../bindings/clock/ambarella,cv75-rct.yaml         |  64 ++++
 MAINTAINERS                                        |  14 +
 arch/arm64/Kconfig.platforms                       |   6 +
 arch/arm64/boot/dts/Makefile                       |   1 +
 arch/arm64/boot/dts/ambarella/Makefile             |   3 +
 arch/arm64/boot/dts/ambarella/cv75-evk.dts         |  30 ++
 arch/arm64/boot/dts/ambarella/cv75.dtsi            | 177 ++++++++++
 arch/arm64/configs/defconfig                       |   1 +
 drivers/clk/Kconfig                                |   1 +
 drivers/clk/Makefile                               |   1 +
 drivers/clk/ambarella/Kconfig                      |   8 +
 drivers/clk/ambarella/Makefile                     |   3 +
 drivers/clk/ambarella/clk-cv75.c                   | 361 +++++++++++++++++++++
 include/dt-bindings/clock/ambarella,cv75-rct.h     |  14 +
 15 files changed, 708 insertions(+)

---
base-commit: 34cf6dafc47441dfb6b356a095b89c3585a93714
change-id: 20261007-cv75-soc-e628f357f066

Best regards,

Signature · 1 line
Long Zhao <[email protected]>