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=1796381505; b=YhICOv01AaYwiF3gOHy+quXFm8E7uMxP9iQogx21qXQMt/3V2W0lFX++W/BjJbc2tkxu pDQhAGz0C2kITzQuyS845swUAs8bRklUCWwK6qpL//FNAL1GzJhGkwj6Dg8T2YStKDqqw tfz/YbXn/G+OxKvZ8CRuSrOnb0YRglEZ82rxiRvUnUIKwElVD57cgnGf9h9YNqsBSZMTx 24OlE7FAbRNDG51bLuMh/jegPvIO0savjgxrmlOBcNfwVtx6erIHii+J3zDI9aHgNlPOs PPuzo4yTlqbpZmpeq3kMddhS3OR8w3Mma45kO2zIxBbQwbVKfSOxbgh+oePBYg8E4XA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796381505; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=iqp41LXS/NeMD1/NzYUGCeEcmtKNqkiplYY+WFpUK90=; b=aamx/6SbZDbr1RE/D/w6TJZEUrjrwdV+ShRg5iYTQgC+ft1vU1wH96kHQYg843mKsYYI sI5gYhSIrvM+CGfiYGV2SC+eQzz/T/fsIaqILysVfDsfgMB0/utZ4O1EAflhqG/mbo0jX yWe4cDMsFMbabNx7E9RevqyMwkO5GRgbiwrDW8W+Gjfop+ECMOx1bCqvSo7Vr7+X/2HPq VetCQIpvHmOGQkTgFAyTqKcQQuhaLfkiYt0D5sFt7tNETJceDmZHkjzNDRcod5DDycRgr RppvZ1OsWd8hWXgH6zNWbnjM2mzdmTThfq4X042g9ulbu6FD9EzYVTothdqd32z5z1g== 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=lgYd5SRt; 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 07788606A68C for ; Fri, 4 Dec 2026 10:51:44 +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=lgYd5SRt Received: by smtp.kernel.org (Postfix) with ESMTPSA id A81841F00931; Fri, 4 Dec 2026 10:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796381504; bh=iqp41LXS/NeMD1/NzYUGCeEcmtKNqkiplYY+WFpUK90=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=lgYd5SRt0iFbw1jmlU0v0GzJ7Koe1Dt6pxToHjA6wbeKrgvOCuZ/H0Y+f1OH/VMnw +g9NDr1FBGR7XKzvKuqPPaev1xalzaH1wnWUkS3pKhAKNj8wDQm+C1F8iBwa7gg2fx RB2dYXoWSsRc9A1ERi3CUkYnZ3F0zsCOxStE7MqhX+1KGaOk7c4x1xBAYNX22nTiXM iUToudtjBNi7Wr7Ydd6/nHoJbf8QxLI4V4ram4VprzLfnvarz6ZbzDqfRgxKYm9n5U zVbxt6q/UoVGgug45NUFdAxBBmAlL4RooS9Ej2ExmGpPEgceoKNPMMoLVcud+i71ZW /mVGzlQ3PqxXQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] dt-bindings: mmc: snps,dwcmshc-sdhci: add snps,no-phy property Reply-To: sashiko-reviews@lists.linux.dev To: =?utf-8?b?UmljaGFyZCBHZW5vdWQgKFN5bmFwdGljcyk=?= Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org In-Reply-To: <20261204104245.1188981-1-richard.genoud@bootlin.com> References: <20261204104245.1188981-1-richard.genoud@bootlin.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 10:51:44 +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 1 potential issue to consider: - [Medium] dt-bindings: mmc: snps,no-phy models SoC integration outside compatibles -- commit b93e1a793d2f28c739edaa9f349cf33f60717225 Author: Richard Genoud (Synaptics) dt-bindings: mmc: snps,dwcmshc-sdhci: add snps,no-phy property This commit adds a snps,no-phy boolean property to the Synopsys DesignWare MSHC SDHCI binding to indicate that the Synopsys DesignWare PHY is not connected to a controller instance. > diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yam= l b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml > index cd823a3ef2130..6b75870ea47a4 100644 > --- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml > @@ -87,6 +87,12 @@ properties: > description: Specifies the drive impedance in Ohm. > enum: [33, 40, 50, 66, 100] > > + snps,no-phy: > + type: boolean > + description: > + Indicates that the Synopsys DesignWare PHY is not connected to this > + controller instance. [Severity: Medium] Should DesignWare PHY presence be deduced from the compatible string rather than modeled with a top-level snps,no-phy boolean property? Whether the DesignWare PHY is connected is a fixed SoC integration detail, which writing-bindings.rst says should be deduced from the compatible. sdhci-of-dwcmshc.c already derives PHY presence from compatibles, including per-instance differences on one SoC (canaan,k230-emmc vs canaan,k230-sdio). Defining snps,no-phy as a negative boolean also implies a DesignWare PHY is present by default when omitted. That conflicts with existing compatibles that do not use it (such as snps,dwcmshc-sdhci and rockchip,rk3568-dwcmshc), whose in-tree DTS nodes do not set snps,no-phy. Because snps,no-phy has no allOf constraint restricting it to specific compatibles, the schema also permits contradictory nodes such as setting snps,no-phy on eswin,eic7700-dwcmshc, which requires a phy reset and eswin,drive-impedance-ohms. If a specific SoC or compatible requires this property, could the commit message identify it and explain why PHY absence cannot be inferred from the compatible string? --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204104245.1188= 981-1-richard.genoud@bootlin.com?part=3D1