From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796122594; b=WVF5pmvFFFynYwDFixFEQpPrHEJl1uifVw91X/5IJUJpQjCljHaW/dCXKCz+5XSzZu+a 7I2a3CkQKP56aBO23V/Gxr/nhZ4SObfRQcGF+g9VasH/XD8bnizKAhX77wga+68qgwA8o xdJAK3VX8A6xmxx0z5jO5T83NWseJ+etDjDnrMv2s8J8AzFnkvyZM7yyABcPSdyEoPt+N dcv1qGSlpHk2o/U3WpacCpZDspFfopX4WU65ogBaStu/xrRvR5mzBk1DVnjI/3AU7cnHo ypS69lmcZ7xiPnR8AdPz2+tSqlfAy/wbAys/NyxpC5NoWXJ03M+itp1d1ajOsA2Zk4w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796122594; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=AtdyQ4S8P9dRz1T227ikRRziqGlIIUYxKB+xUqAqMh0=; b=i6ZEP0rfyvMLQKqaL/QJe2baNy5556Ld2G2NjJiybyjaKzUYUvIfvsDkfX3heM6T35kU ihyFA8ktn5/43yG2i4B/4e0VodP0AhaPFduarZRFAusXuQhQn2CqkeUBNtLaUelfs71nh y7oO2GgBgul6I8PM8+4sI9nzi9jUu80oLEHehxw5cPh/PDSG5EUySlgTAvLPijXZMzBFg AyuB1uBIzk/jtVYbKHvjVIuTOV7By3W/H6mPi0hoOMmF5Z5+Jlp84FEKxyRqyc8YztqqR z4nFWuKNhYkzID0egl58Z+lg8qGO1G4eyTpWa0M1rALnr8xC6MnZe3adBp4HoXWniRA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BFlsU6hV; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89E90606A31A for ; Tue, 1 Dec 2026 10:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BFlsU6hV Received: by smtp.kernel.org (Postfix) with ESMTPSA id F03301F0089A; Tue, 1 Dec 2026 10:56:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796122594; bh=AtdyQ4S8P9dRz1T227ikRRziqGlIIUYxKB+xUqAqMh0=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=BFlsU6hVTFscsdj+qj2jAQv4zqoAyX6YpAdBamJuDI3oVbRJfRnmDmmrR2WskkM3R x3VkGjeigSYDNk9r8jMyxT3aFAX+J0F0KTML/Xz72nqUJVFbc2jEAWslbPPoOXVy1c ZMnRlWWnV7S8vwSQhPOAYKAkt8hIe50p9oYD8CuCqShTei/Ch5ZdWFEHJo/Ot1E/k3 5ppqeZd6jJCnVakk6NShUj6nv19AiXs3FAqnYt5Qx/dMdDQUM2O741d7wyBvDsZLLa 9LiQZulZsY9Gw4lBNsfwbUh8KnWDXMosGH8EZmQDnryCDzkyQk7v7FgMdNRxSKycp3 xAfjPQUsvsDPg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 1/3] dt-bindings: i2c: add Ambarella IDC controller Reply-To: sashiko-reviews@lists.linux.dev To: "Long Zhao" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261201-cv75-i2c-v1-1-729176f61836@ambarella.com> References: <20261201-cv75-i2c-v1-0-729176f61836@ambarella.com> <20261201-cv75-i2c-v1-1-729176f61836@ambarella.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 10:56:33 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 3 potential issues to consider: - [Medium] dt-bindings: i2c: ambarella,cv75-i2c: missing ambarella,cv75-rct.h header - [Low] dt-bindings: i2c: ambarella,cv75-i2c: interrupts listed before clocks - [Low] dt-bindings: i2c: ambarella,cv75-i2c: undocumented ambarella vendor prefix -- commit 10b02ab07af3011c549ab6187e63cc6723edbba9 Author: Long Zhao dt-bindings: i2c: add Ambarella IDC controller This commit adds a Device Tree binding schema for the Ambarella CV75 I2C master controller. > diff --git a/Documentation/devicetree/bindings/i2c/ambarella,cv75-i2c.yam= l b/Documentation/devicetree/bindings/i2c/ambarella,cv75-i2c.yaml > new file mode 100644 > index 0000000000000..285525655dec7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/ambarella,cv75-i2c.yaml > @@ -0,0 +1,63 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/i2c/ambarella,cv75-i2c.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Ambarella I2C controller > + > +maintainers: > + - Long Zhao > + > +description: > + Ambarella I2C master controller on media SoCs such as the CV75. > + It supports standard, fast and fast-plus modes up to 1 MHz, > + 7-bit and 10-bit addressing, and repeated start. > + The controller input clock is the SoC APB clock (gclk_apb from the > + RCT clock controller on CV75). > + > +allOf: > + - $ref: /schemas/i2c/i2c-controller.yaml# > + > +properties: > + compatible: > + enum: > + - ambarella,cv75-i2c [Severity: Low] Is the ambarella vendor prefix documented in Documentation/devicetree/bindings/vendor-prefixes.yaml? Without an entry there, checkpatch.pl and DT schema checks report ambarella,cv75-i2c as an undocumented vendor prefix. > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + description: > + SoC APB clock that drives the controller (CV75 gclk_apb). > + > + clock-frequency: > + description: Desired I2C bus clock frequency in Hz. > + minimum: 1000 > + maximum: 1000000 > + default: 100000 > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + #include > + > + i2c@e4008000 { > + compatible =3D "ambarella,cv75-i2c"; > + reg =3D <0xe4008000 0x1000>; > + interrupts =3D ; > + clocks =3D <&rct CV75_GCLK_APB>; [Severity: Medium] Does this example build with make dt_binding_check? include/dt-bindings/clock/ambarella,cv75-rct.h and CV75_GCLK_APB are not present in the tree, so preprocessing the example fails with a missing header error. > + clock-frequency =3D <100000>; > + }; [Severity: Low] This isn't a bug, but interrupts is listed before clocks in properties, required, and the example node, whereas standard DT binding property order places clocks before interrupts. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201-cv75-i2c-v= 1-0-729176f61836@ambarella.com?part=3D1