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=1796358763; b=uG/+SFdUxJ/ijloohgrd3WKh0BizhOO8MsikP0W1XTnf1usQDbYzkS9uvUdEPHRNgLx+ JrUTWvr9XLWHeCiDouJEiWWy0rYZwIp7q8Gz0XNo2zBdmvy63L9LWmLAfF6Fkq7ox2c6m wdZBr4u9aHXW0VkTV8gaQe6bQ/7jLsmIl8XzDcWmwZS7Qkd9Y0QuFoHvahqIz75bfRxTr zuFuJzIpIpm5cBuONYAq0vqRF2clmU2WLXeQUM+BHHuqZ/fXexb2TU2oftdBuZWH7iqto gmWtt59eX5j6FmKWUOYPpEBGp4We5REys0FnqRyaPHqwAHEzG3bplj7oGcwyZSfyMMA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796358763; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Qa8QwnqJ/ieAguRuMURQE5BykTxifPVSeKkSO4HBR/w=; b=IBihkwSnfqXvUU0pa00O56Q/Qi4qpb7qn7g+g1kFgOEMQC2XkNQrDG7jvC8X+b7wdJRJ /luI8y1dg2bW0MXzdwSZVkSSpf94SmcknTPf10IGuYFbWvQUAo5aPB0plsasKHQK/PKFZ GH2HzmMl69Grn88TkLmixL93sVOIEyP7znJnKvU4QkfpbBsERibczkkTNXa2jTpbYt2jL cz9nJjX2qBuXP7OaonjTP3O3kBEW6i8ayZO/Ut/IVUH+msqTzgGMt84EqAUKMfd02rARy VBzDR9uEUGrtZd3ThWMQrKgPnFK6XuqbX7oYzL+my9YqvlePFkGt1TRuBTW7jZVZzHA== 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=BWk+PGkC; 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 B514F606A32D for ; Fri, 4 Dec 2026 04:32:43 +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=BWk+PGkC Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29EF51F00897; Fri, 4 Dec 2026 04:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796358763; bh=Qa8QwnqJ/ieAguRuMURQE5BykTxifPVSeKkSO4HBR/w=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=BWk+PGkC045NU/Lfn/UDvLkDhxUZLgcD/f68a1YmY2oOouF1XjRsefMxYr/MRzFPU wi0CNDa31XkHwTKVnNNxFKerQgsYgFyk8FG200gUOX+Q4dXmhPCbHgXx5h20NPycZB XVSbogugfH7ueinD4Sa1nu9rMUlhm37kxh4DnuRueGfTxL1xinj3n5wFovNwjSrJ+T /fKWYrvUcsQV5PPIhXlgYRVyrIifV9S1GAAoNyR4SrQcrjjRzsDkC9r+7t+uxNqJdl wYosvC5EdV/RDbrk8FZT2lNoGYgc70OKJojkYaomyRkhvrfRAftyGk+5Mv3Q8EipPt lOlHUZAFxdb3Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 05/13] dt-bindings: embedded-controller: Add SpacemiT K3 EC window Reply-To: sashiko-reviews@lists.linux.dev To: "Wang Yang" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261204042112.2985112-6-yang.wang@deepcomputing.io> References: <20261204042112.2985112-1-yang.wang@deepcomputing.io> <20261204042112.2985112-6-yang.wang@deepcomputing.io> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 04:32:42 +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 2 potential issues to consider: - [Low] dt-bindings: spacemit,k3-cros-ec duplicates schema and blocks EC sub-devices - [Low] dt-bindings: commit message omits rationale for separate K3 EC schema -- commit 4f4efb4e453c6a6ced3361059125c9028c2520f6 Author: Wang Yang > dt-bindings: embedded-controller: Add SpacemiT K3 EC window > > Describe the K3 non-linear peripheral window before the controller > binding references it. Reuse the existing keyboard and I2C tunnel > schemas. Keep the Google EC binding unchanged. > > Prepared with OpenAI Codex assistance. > > Signed-off-by: Wang Yang [Severity: Low] Could the commit message explain why google,cros-ec.yaml is kept unchanged instead of extending it or sharing a common schema? Right now it only states what the patch does without explaining why a standalone schema is needed, why only keyboard-controller and i2c-tunnel children are permitted, or why a SoC-specific spacemit,k3-cros-ec compatible is used for the ChromeOS EC interface. > diff --git a/Documentation/devicetree/bindings/embedded-controller/spacem= it,k3-cros-ec.yaml b/Documentation/devicetree/bindings/embedded-controller/= spacemit,k3-cros-ec.yaml > new file mode 100644 > index 0000000000000..fa9343e3ebf7b > --- /dev/null > +++ b/Documentation/devicetree/bindings/embedded-controller/spacemit,k3-c= ros-ec.yaml > @@ -0,0 +1,77 @@ [ ... ] > + keyboard-controller: > + $ref: /schemas/input/google,cros-ec-keyb.yaml# > + > +patternProperties: > + "^i2c-tunnel[0-9]*$": > + type: object > + $ref: /schemas/i2c/google,cros-ec-i2c-tunnel.yaml# > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false [Severity: Low] Does closing this standalone schema with additionalProperties: false block valid ChromeOS EC sub-devices that the driver populates? cros_ec_register() populates all DT children via devm_of_platform_populate(= ), so dtbs_check will reject standard sub-nodes such as pwm, typec, extcon, regulator, or gpio-controller on boards using this binding. Every property and requirement here is already a subset of google,cros-ec.yaml, whose allOf rules already require reg and interrupts while forbidding SPI-, RPMSG-, and FPMCU-only properties without new conditionals. Controller bindings like mtk,scp.yaml reference it directly. Adding spacemit,k3-cros-ec to google,cros-ec.yaml, or factoring the shared ChromeOS EC properties and child nodes into a common schema referenced by both, would avoid duplicating the binding and keep all EC sub-devices valid. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204042112.2985= 112-1-yang.wang@deepcomputing.io?part=3D5