Skip to contentSkip to conversation

arm64: add Ambarella CV75 SoC support

PATCH In review Long Zhao 6 participants 12 messages Nov 19

Subsystems (4)
lore
Share & tools
lore

Long Zhao

author
#0 lore raw

v12 cover 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]>
author
#1 lore raw

PATCH v12 1/6 dt-bindings: arm: add Ambarella CV75 platforms

Document the CV75 EVK board compatible for the initial SoC bring-up. The ambarella vendor prefix is already applied in the devicetree tree.

---
 .../devicetree/bindings/arm/ambarella.yaml         | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Documentation/devicetree/bindings/arm/ambarella.yaml new file +24 -0
new file mode 100644
index 000000000000..72946e94fa76
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/ambarella.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ambarella SoC platforms
+
+maintainers:
+  - Long Zhao <[email protected]>
+
+properties:
+  $nodename:
+    const: "/"
+
+  compatible:
+    oneOf:
+      - description: Ambarella CV75 boards
+        items:
+          - enum:
+              - ambarella,cv75-evk
+          - const: ambarella,cv75
+
+additionalProperties: true
Signature · 1 line
2.34.1
author
#2 lore raw

PATCH v12 2/6 dt-bindings: clock: add Ambarella CV75 RCT

In reply to Long Zhao

Document the CV75 RCT clock controller and the clock ID header used by DT consumers.

Document #reset-cells for the RCT reset-provider role. Soft-reset line IDs and the reset provider driver are deferred; this series has no resets= consumers.

---
 .../bindings/clock/ambarella,cv75-rct.yaml         | 64 ++++++++++++++++++++++
 include/dt-bindings/clock/ambarella,cv75-rct.h     | 14 +++++
 2 files changed, 78 insertions(+)
Documentation/devicetree/bindings/clock/ambarella,cv75-rct.yaml new file +64 -0
new file mode 100644
index 000000000000..be89bd75f9e2
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/clock/ambarella,cv75-rct.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ambarella CV75 RCT Clock Controller
+
+maintainers:
+  - Long Zhao <[email protected]>
+
+description: |
+  The RCT (Reset and Clock Tree) block on the Ambarella CV75 SoC provides
+  PLLs, clock muxes, dividers and soft-reset controls for on-chip
+  peripherals.
+
+  The same register region is also exposed as a syscon for other SoC
+  blocks (e.g. pin drive-strength), hence the "syscon" compatible.
+
+  Clock indices are defined in include/dt-bindings/clock/ambarella,cv75-rct.h.
+
+properties:
+
+  compatible:
+    items:
+      - const: ambarella,cv75-rct
+      - const: syscon
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    description: Reference crystal oscillator (typically 24 MHz)
+    maxItems: 1
+
+  clock-names:
+    const: osc
+
+  "#clock-cells":
+    const: 1
+
+  "#reset-cells":
+    const: 1
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - clock-names
+  - "#clock-cells"
+  - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+  - |
+    clock-controller@ed080000 {
+        compatible = "ambarella,cv75-rct", "syscon";
+        reg = <0xed080000 0x1000>;
+        clocks = <&osc>;
+        clock-names = "osc";
+        #clock-cells = <1>;
+        #reset-cells = <1>;
+    };
include/dt-bindings/clock/ambarella,cv75-rct.h new file +14 -0
new file mode 100644
index 000000000000..b3e965b4ff2e
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
+/*
+ * Copyright (C) 2026 Ambarella, Inc.
+ */
+
+#ifndef _DT_BINDINGS_CLOCK_AMBARELLA_CV75_RCT_H
+#define _DT_BINDINGS_CLOCK_AMBARELLA_CV75_RCT_H
+
+#define CV75_GCLK_UART0		0
+#define CV75_GCLK_CORE		1
+#define CV75_GCLK_AHB		2
+#define CV75_GCLK_APB		3
+
+#endif
Signature · 1 line
2.34.1
author
#3 lore raw

PATCH v12 3/6 arm64: add ARCH_AMBARELLA

In reply to Long Zhao

Add the platform symbol for Ambarella SoCs.

---
 arch/arm64/Kconfig.platforms | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/Kconfig.platforms +6 -0
index d2acfac73003..16d7e3a4c2d6 100644
@@ -26,6 +26,12 @@ config ARCH_SUNXI
 	help
 	  This enables support for Allwinner sunxi based SoCs like the A64.
 
+config ARCH_AMBARELLA
+	bool "Ambarella SoC family"
+	select PINCTRL
+	help
+	  This enables support for the ARM64 based Ambarella SoCs like CV75.
+
 config ARCH_ALPINE
 	bool "Annapurna Labs Alpine platform"
 	select ALPINE_MSI if PCI
Signature · 1 line
2.34.1
author
#4 lore raw

PATCH v12 4/6 clk: ambarella: add CV75 RCT clock controller

In reply to Long Zhao

Add a table-driven CCF driver for the CV75 root clock tree. Register the core PLL, AHB/APB fixed factors and UART0 composite clock, with osc supplied via clk_parent_data.

---
 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 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 374 insertions(+)
drivers/clk/Kconfig +1 -0
index 1717ce75a907..fbbf4963716c 100644
@@ -506,6 +506,7 @@ config COMMON_CLK_RPMI
 	  the RISC-V platform management interface (RPMI) specification.
 
 source "drivers/clk/actions/Kconfig"
+source "drivers/clk/ambarella/Kconfig"
 source "drivers/clk/analogbits/Kconfig"
 source "drivers/clk/aspeed/Kconfig"
 source "drivers/clk/bcm/Kconfig"
drivers/clk/Makefile +1 -0
index cc108a75a900..30d823ee606f 100644
@@ -112,6 +112,7 @@ obj-$(CONFIG_COMMON_CLK_XGENE)		+= clk-xgene.o
 
 # please keep this section sorted lexicographically by directory path name
 obj-y					+= actions/
+obj-y					+= ambarella/
 obj-y					+= analogbits/
 obj-y					+= aspeed/
 obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
drivers/clk/ambarella/Kconfig new file +8 -0
new file mode 100644
index 000000000000..fb1d91a2954c
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config CLK_AMBARELLA_CV75
+	bool "Ambarella CV75 RCT clock controller"
+	depends on ARCH_AMBARELLA || COMPILE_TEST
+	default ARCH_AMBARELLA
+	help
+	  Say Y here to enable the Ambarella CV75 RCT clock controller.
drivers/clk/ambarella/Makefile new file +3 -0
new file mode 100644
index 000000000000..29555e452441
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+obj-$(CONFIG_CLK_AMBARELLA_CV75) += clk-cv75.o
drivers/clk/ambarella/clk-cv75.c new file +361 -0

361 lines not on this page · raw message

Signature · 1 line
2.34.1
#5 lore raw

Re: [PATCH v12 4/6] clk: ambarella: add CV75 RCT clock controller

Quoted 4 lines · On Thu, Nov 19, 2026 at 06:13:22PM +0800, Long Zhao via B4 Relay wrote:

Add a table-driven CCF driver for the CV75 root clock tree. Register the core PLL, AHB/APB fixed factors and UART0 composite clock, with osc supplied via clk_parent_data.

...

drivers/clk/ambarella/Kconfig line 8

Quoted 6 lines
drivers/clk/ambarella/Kconfig new file +6 -0
+config CLK_AMBARELLA_CV75
+	bool "Ambarella CV75 RCT clock controller"
+	depends on ARCH_AMBARELLA || COMPILE_TEST
+	default ARCH_AMBARELLA
+	help
+	  Say Y here to enable the Ambarella CV75 RCT clock controller.

Tell a bit more when it's required. For example, if it's necessary to boot the system or if it's just a bunch of some peripheral clocks that don't affect any basic stuff. Note, checkpatch complains if the help text is less than 3 lines.

...

drivers/clk/ambarella/clk-cv75.c line 116

Quoted 8 lines
drivers/clk/ambarella/clk-cv75.c new file +8 -0
+static const struct cv75_pll cv75_plls[] = {
+	CV75_PLL(CV75_GCLK_CORE, "core", 0x000, 0x004, 0x100,
+		 0, &cv75_ccu.core),
+	CV75_PLL(-1, "pll_enet", 0x520, 0x524, 0x528,
+		 0, &cv75_ccu.enet),
+	CV75_PLL(-1, "pll_sd", 0x4ac, 0x4b0, 0x4b4,
+		 0, &cv75_ccu.sd),
+};

Now it can occupy less LoC.

static const struct cv75_pll cv75_plls[] = {
	CV75_PLL(CV75_GCLK_CORE, "core", 0x000, 0x004, 0x100, 0, &cv75_ccu.core),
	CV75_PLL(-1, "pll_enet", 0x520, 0x524, 0x528, 0, &cv75_ccu.enet),
	CV75_PLL(-1, "pll_sd", 0x4ac, 0x4b0, 0x4b4, 0, &cv75_ccu.sd),
};
Signature · 2 lines
With Best Regards,
Andy Shevchenko
author
#6 lore raw

PATCH v12 5/6 arm64: dts: ambarella: add CV75 SoC and EVK

In reply to Long Zhao

Add a minimal CV75 SoC and EVK device tree for console bring-up with the RCT clocks, UART, pinctrl and GPIO banks.

---
 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 +
 5 files changed, 212 insertions(+)
arch/arm64/boot/dts/Makefile +1 -0
index fc726b215f12..f1709eb5d915 100644
@@ -4,6 +4,7 @@ subdir-y += airoha
 subdir-y += allwinner
 subdir-y += altera
 subdir-y += amazon
+subdir-y += ambarella
 subdir-y += amd
 subdir-y += amlogic
 subdir-y += apm
arch/arm64/boot/dts/ambarella/Makefile new file +3 -0
new file mode 100644
index 000000000000..ddca3d7b18cc
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0
+
+dtb-$(CONFIG_ARCH_AMBARELLA) += cv75-evk.dtb
arch/arm64/boot/dts/ambarella/cv75-evk.dts new file +30 -0
new file mode 100644
index 000000000000..42a0fe24b83b
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Ambarella CV75 EVK board
+ */
+
+/dts-v1/;
+
+#include "cv75.dtsi"
+
+/ {
+	model = "Ambarella CV75 EVK Board";
+	compatible = "ambarella,cv75-evk", "ambarella,cv75";
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		stdout-path = &uart0;
+	};
+
+	memory@200000 {
+		device_type = "memory";
+		reg = <0x0 0x00200000 0x0 0x07e00000>;
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +177 -0

177 lines not on this page · raw message

arch/arm64/configs/defconfig +1 -0
index ad3bd3d9507b..454f07a6a6a6 100644
@@ -36,6 +36,7 @@ CONFIG_CRASH_DUMP=y
 CONFIG_ARCH_ACTIONS=y
 CONFIG_ARCH_AIROHA=y
 CONFIG_ARCH_SUNXI=y
+CONFIG_ARCH_AMBARELLA=y
 CONFIG_ARCH_ALPINE=y
 CONFIG_ARCH_APPLE=y
 CONFIG_ARCH_ARTPEC=y
Signature · 1 line
2.34.1
#7 lore raw

Re: [PATCH v12 5/6] arm64: dts: ambarella: add CV75 SoC and EVK

Thank you for your contribution! Sashiko AI review found 5 potential issues to consider: - [High] arm64: dts: ambarella: uart0 console fails probe due to unbound pinctrl-0 - [Medium] arm64: dts…

Thank you for your contribution! Sashiko AI review found 5 potential issues to consider:
- [High] arm64: dts: ambarella: uart0 console fails probe due to unbound pinctrl-0
- [Medium] arm64: dts: ambarella: apb simple-bus reg causes -EBUSY in amba_device_add()
- [Medium] arm64: dts: ambarella: undocumented compatible strings and properties in cv75
- [Medium] arm64: dts: ambarella: gpio nodes use unmatched periphid and unprobed pinctrl
- [Low] arm64: dts: ambarella: cpu@1 unit-address mismatches reg = <0x100> in cv75
--

commit e70f7e3684557e5b6677d7d83d584310569d7473
Author: Long Zhao <[email protected]>

arm64: dts: ambarella: add CV75 SoC and EVK

This commit adds the minimal Devicetree files for the Ambarella CV75 SoC and CV75 EVK board, along with Makefile and arm64 defconfig entries.

Quoted 6 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +0 -0
new file mode 100644
index 0000000000000..c36b6af48237a
@@ -0,0 +1,177 @@

[ ... ]

arch/arm64/boot/dts/ambarella/cv75.dtsi line 34

Quoted 6 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +6 -0
+		cpu@1 {
+			compatible = "arm,cortex-a76";
+			device_type = "cpu";
+			reg = <0x100>;
+			enable-method = "psci";
+		};

[Severity: Low]
Should this node be named cpu@100 to match reg = <0x100>? The mismatch triggers a unit_address_vs_reg warning from dtc and fails dtbs_check against cpus.yaml.

[ ... ]

Quoted 9 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +9 -0
+		ahb@ffe0000000 {
+			compatible = "simple-bus";
+			reg = <0xff 0xe0000000 0x0 0x01000000>;
+			ranges = <0xe0000000 0xff 0xe0000000 0x01000000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			s_scratchpad_syscon: scratchpad@e002e000 {
+				compatible = "ambarella,cv75-sec-scratchpad", "syscon";

arch/arm64/boot/dts/ambarella/cv75.dtsi line 73

Quoted 10 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +10 -0
+				reg = <0xe002e000 0x1000>;
+			};
+		};
+
+		apb@ffe4000000 {
+			compatible = "simple-bus";
+			reg = <0xff 0xe4000000 0x0 0x01000000>;
+			ranges = <0xe4000000 0xff 0xe4000000 0x01000000>;
+			#address-cells = <1>;
+			#size-cells = <1>;

[Severity: Medium]
Does specifying a reg property on apb@ffe4000000 (and ahb@ffe0000000) prevent the child arm,primecell GPIO devices from registering?

When of_platform_bus_create() populates apb@ffe4000000, platform_device_add() inserts [0xffe4000000 - 0xffe4ffffff] directly into iomem_resource. For the child arm,primecell GPIO nodes, of_amba_device_create() calls amba_device_add() with parent = &iomem_resource, which uses request_resource(&iomem_resource, &dev->res) instead of nesting inside the bus resource and fails with -EBUSY. Dropping reg from these simple-bus nodes (and keeping ranges) avoids the top-level resource conflict and satisfies simple-bus.yaml.

arch/arm64/boot/dts/ambarella/cv75.dtsi line 86

Quoted 13 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +13 -0
+
+			uart0: serial@e4000000 {
+				compatible = "ambarella,cv75-uart", "snps,dw-apb-uart";
+				reg = <0xe4000000 0x1000>;
+				clocks = <&rct CV75_GCLK_UART0>;
+				interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
+				reg-shift = <2>;
+				reg-io-width = <4>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&uart0_pins>;
+
+				status = "disabled";
+			};

[Severity: High]
Will uart0 permanently defer probing on cv75-evk because pinctrl-0 references &uart0_pins under pinctrl@e4010000?

No driver in the tree matches "ambarella,cv75-pinctrl", so no pinctrl_dev is registered for pinctrl@e4010000. When serial@e4000000 is enabled as the console in cv75-evk.dts, really_probe() -> pinctrl_bind_pins() -> dt_to_map_one_config() cannot find the pinctrl supplier and returns -EPROBE_DEFER whenever CONFIG_MODULES is enabled, leaving the board without a serial console.

arch/arm64/boot/dts/ambarella/cv75.dtsi line 98

Quoted 12 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +12 -0
+
+			pinctrl: pinctrl@e4010000 {
+				compatible = "ambarella,cv75-pinctrl";
+				reg = <0xe4010000 0x1000>;
+				ambarella,drive-strength-syscon = <&rct>;
+				ambarella,pull-syscon = <&s_scratchpad_syscon>;
+
+				uart0_pins: uart0-pins {
+					function = "uart0";
+					groups = "uart0";
+				};
+			};

[Severity: Medium]
Are the Devicetree binding schemas for the new compatible strings and properties in this file missing from the series?

"ambarella,cv75-sec-scratchpad", "ambarella,cv75-uart", "ambarella,cv75-pinctrl" (along with ambarella,drive-strength-syscon and ambarella,pull-syscon), and "ambarella,cv75-gpio" are not documented under Documentation/devicetree/bindings/, causing make dtbs_check to fail on cv75-evk.dtb.

Quoted 4 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +4 -0
+
+			gpio0: gpio@e4013000 {
+				compatible = "ambarella,cv75-gpio", "arm,primecell";
+				reg = <0xe4013000 0x1000>;

arch/arm64/boot/dts/ambarella/cv75.dtsi line 112

Quoted 10 lines
arch/arm64/boot/dts/ambarella/cv75.dtsi new file +10 -0
+				clocks = <&rct CV75_GCLK_APB>;
+				clock-names = "apb_pclk";
+				interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
+				gpio-controller;
+				#gpio-cells = <2>;
+				gpio-ranges = <&pinctrl 0 0 32>;
+				interrupt-controller;
+				#interrupt-cells = <2>;
+				arm,primecell-periphid = <0x000e8061>;
+			};

[Severity: Medium]
Can gpio0, gpio1, and gpio2 bind to any in-tree driver with arm,primecell-periphid = <0x000e8061> and gpio-ranges = <&pinctrl ...>?

Because "arm,primecell" is in compatible, these nodes are created as AMBA devices that match only on periphid, and no AMBA driver in the tree matches 0x000e8061 (gpio-pl061 only matches 0x00041061 with 8 lines per block rather than 32). In addition, gpio-ranges points to &pinctrl, which has no driver in the tree and would cause of_gpiochip_add_pin_range() to defer with -EPROBE_DEFER.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
author
#8 lore raw

PATCH v12 6/6 MAINTAINERS: add ARM/AMBARELLA SoC support

In reply to Long Zhao

Add a maintainer entry covering Ambarella CV75 bindings, DTS and related drivers.

---
 MAINTAINERS | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
MAINTAINERS +14 -0
index 803b60ad628f..59e5b32d7a02 100644
@@ -2502,6 +2502,20 @@ F:	drivers/clocksource/asm9260_timer.c
 F:	drivers/rtc/rtc-asm9260.c
 F:	drivers/watchdog/asm9260_wdt.c
 
+ARM/AMBARELLA SOC SUPPORT
+M:	Long Zhao <[email protected]>
+L:	[email protected] (moderated for non-subscribers)
+L:	[email protected]
+S:	Maintained
+F:	Documentation/devicetree/bindings/arm/ambarella.yaml
+F:	Documentation/devicetree/bindings/clock/ambarella,cv75-rct.yaml
+F:	Documentation/devicetree/bindings/pinctrl/ambarella,cv75-pinctrl.yaml
+F:	arch/arm64/boot/dts/ambarella/
+F:	drivers/clk/ambarella/
+F:	drivers/pinctrl/pinctrl-ambarella*
+F:	include/dt-bindings/clock/ambarella,cv75-rct.h
+N:	ambarella
+
 ARM/AMD PENSANDO ARM64 ARCHITECTURE
 M:	Brad Larson <[email protected]>
 L:	[email protected] (moderated for non-subscribers)
Signature · 1 line
2.34.1
maintainer
#9 lore raw
In reply to Long Zhao
Quoted 17 lines · On Thu, Nov 19, 2026, at 11:13, Long Zhao via B4 Relay wrote:

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.

Quoted 5 lines

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.

I merged this into the soc/newsoc branch now, which may get additional SoCs from other vendors for the merge window. This should be in linux-next starting tomorrow.

I also pushed the contents out in two branches:

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=newsoc/ambarella

contains all six patches, while

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=ambarella/common

contains only the first three and can be merged into the other subsystems. As expected, I got warnings about the uart and gpio device bindings not being present, as they are getting merged through other trees:

WARNING: DT compatible string "ambarella,cv75-uart" appears un-documented -- check ./Documentation/devicetree/bindings/ #152: FILE: arch/arm64/boot/dts/ambarella/cv75.dtsi:76:
+ compatible = "ambarella,cv75-uart", "snps,dw-apb-uart";

WARNING: DT compatible string "ambarella,cv75-gpio" appears un-documented -- check ./Documentation/devicetree/bindings/ #177: FILE: arch/arm64/boot/dts/ambarella/cv75.dtsi:101:
+ compatible = "ambarella,cv75-gpio", "arm,primecell";

Arnd

#10 lore raw
Quoted 28 lines · Arnd Bergmann
Quoted 17 lines · On Thu, Nov 19, 2026, at 11:13, Long Zhao via B4 Relay wrote:

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.

Quoted 5 lines

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.

I merged this into the soc/newsoc branch now, which may get additional SoCs from other vendors for the merge window. This should be in linux-next starting tomorrow.

Quoted 5 lines

I also pushed the contents out in two branches:

https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=newsoc/ambarella

contains all six patches, while

I pulled the branch with all six patches into clk-next.

Brian

#11 lore raw
In reply to Long Zhao
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:

Quoted 6 lines · On Thu, 19 Nov 2026 18:13:18 +0800 you wrote:

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:

Quoted 8 lines

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

[...]

Here is the summary with links:
- [v12,1/6] dt-bindings: arm: add Ambarella CV75 platforms

    https://git.kernel.org/soc/soc/c/97a175f09791
  - [v12,2/6] dt-bindings: clock: add Ambarella CV75 RCT
    https://git.kernel.org/soc/soc/c/58a9f024d58c
  - [v12,3/6] arm64: add ARCH_AMBARELLA
    https://git.kernel.org/soc/soc/c/d48cfd6482ee
  - [v12,4/6] clk: ambarella: add CV75 RCT clock controller
    (no matching commit)
  - [v12,5/6] arm64: dts: ambarella: add CV75 SoC and EVK
    https://git.kernel.org/soc/soc/c/4a1ce643a9ec
  - [v12,6/6] MAINTAINERS: add ARM/AMBARELLA SoC support
    https://git.kernel.org/soc/soc/c/d76a3a4c6da4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html