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=1796423581; b=xd7vBYWCAhHpUFdWluR9IqqIlWsq/ib3/t0WhLqNNm4ILWCLTRLjkoZJaeFTGpfih/EG pivPEtsBxFvUlUsZ53gzO7hj3Gv4/pm3qhKJB3HyexKkoj/o2UOp2lbpUPeW2SuHzWCZW nm/59VQe70WLTALj2yvyHJbxGOBeQnDm0G4FYG7lvD9BGlcIGTBhwQGQc2tXMDByjJjia we3I7cf3dcWnwj9CwCsZvp9oz5R4j9RIp4a0gBtVHVF6Us90Tv2WfKNX40wou675nF9pq Gh26/XEx2SrB3IMN+OsoSpWUlQmDkEz74dpZ//YwQC1DsiosTO9ioAyQMt8Ui28QkkQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796423581; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=iY6zmL462r1MdVQ04qWsiw606X5Dg/T/MnW5n3nph7c=; b=U61QEWQuTQdTKIBEG9L3W66uWDj3eQ0iENxnDB7JrjjIzgn5N/UTUYatyHtFd2jHXiPY My3LwxwYr3eSyid17frY49VHcazdzhnlvdkuI5IBZKU4IHcgVlgNqczgEWdAiX5opK7u9 M4ptOFBMi4IBc4yOQ9UEYpWYNql8E6OUOEQIjURo367gjdJHcpGfc1VnOM7hQNFdetpHL sylWTb8s3FZAn6RTFtyUNhGnuLY+9OQ2+W4Egncd+3RbRmQmFOFem1mvdXKzWounbZ8Qt WEkS/hgoTz3sz7J3kK7ezVBcm6ZU5nHJm5CdE2862i6jN6QfwZNCz5KLrqAXe6F9kVA== 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=Si5CWu1q; 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 A6E58606A322; Fri, 4 Dec 2026 22:33:01 +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=Si5CWu1q Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21DE41F0093B; Fri, 4 Dec 2026 22:33:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796423581; bh=iY6zmL462r1MdVQ04qWsiw606X5Dg/T/MnW5n3nph7c=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Si5CWu1q7ua0lsdp5BqsiX+dncfwx7P2hKmnC2vT+LLRrLAyATdb/KfWyFInxuJm1 NlNnTa7v9i1ohbr51XTOlwlm2ScCR8bTGvJHrmRdglTfff6LAd3gyDwfj8BkjQZnSh Dk1jVnMzBeJO8qJYqp1F7utC8uq1ekyuIxnc2cVjCdioUZYdrUn6FiOewad/h2udC2 ckjHnvyvijgN1NHCDrGswXWydfUaWJdwjvtQsLxwvTkN2h+0gvxk3rnPCZjakmXKep HBfdJ9Hz2LgwdL75hFl2UUgNI86lrndnBZRLzWDOZJ4lr+O7ZL09eZfGi0T1eyyPmm O5M6oB7rhlXNQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 4/6] dt-bindings: PCI: Describe the CS7542 host controller Reply-To: sashiko-reviews@lists.linux.dev To: "Fil Dunsky" Cc: linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, neil.armstrong@linaro.org, olteanv@gmail.com In-Reply-To: <20261205-b4-cs7542-pcie-v4-4-6d0101b281b4@gmail.com> References: <20261205-b4-cs7542-pcie-v4-0-6d0101b281b4@gmail.com> <20261205-b4-cs7542-pcie-v4-4-6d0101b281b4@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 22:33:00 +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: - [Low] dt-bindings: pci: Root Port uses additionalProperties: true - [Low] dt-bindings: pci: Root Port regex allows extra non-existent ports - [Low] dt-bindings: pci: redundant legacy phy-names for single PHY -- commit 79b55635355834a2edd3875ad0c012643b49ab39 Author: Fil Dunsky dt-bindings: PCI: Describe the CS7542 host controller This commit adds the Device Tree binding schema for the Cortina Systems CS7542 DesignWare-based PCIe host controller, documenting its register windows, clock, reset, PHY, combined interrupt, INTx domain, and single Root Port node. > diff --git a/Documentation/devicetree/bindings/pci/cortina,cs7542-pcie.ya= ml b/Documentation/devicetree/bindings/pci/cortina,cs7542-pcie.yaml > new file mode 100644 > index 0000000000000..64cd7c7448513 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/cortina,cs7542-pcie.yaml > @@ -0,0 +1,157 @@ [ ... ] > + phys: > + maxItems: 1 > + > + phy-names: > + const: pcie [Severity: Low] Is phy-names needed here for a single PHY? The single clock and reset properties in this binding omit -names, and devm_phy_get(dev, NULL) resolves index 0 without it. In addition, snps,dw-pcie-common.yaml categorizes "pcie" as a vendor-specific name to avoid in new bindings in favor of generic names like "pcie0". Consider dropping phy-names, or using "pcie0" if it is kept. [ ... ] > +patternProperties: > + "^pcie@[0-9a-f]+,[0-7]$": [Severity: Low] Does this pattern allow extra non-existent Root Port nodes and invalid PCI device numbers above 0x1f to pass dtbs_check? The description states there is a single Root Port and required already fixes it to pcie@0,0. Defining pcie@0,0 directly under properties (or narrowing the pattern to ^pcie@0,0$) would match the hardware topology. > + type: object > + $ref: /schemas/pci/pci-pci-bridge.yaml# > + additionalProperties: true [Severity: Low] Should this use unevaluatedProperties: false instead of additionalProperties: true? Setting additionalProperties: true disables schema validation of unknown or misspelled properties (such as a typoed reset-gpio) inside the Root Port node. With unevaluatedProperties: false, all properties from pci-pci-bridge.yaml remain allowed while unexpected ones are caught. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261205-b4-cs7542-= pcie-v4-0-6d0101b281b4@gmail.com?part=3D4