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=1796385298; b=Omtv2Ec5khVfaCX7bq4/+OkowuMZ5Aq0gzOVGA0Wy85Bi1DqNT23a45O9+UruTeo3xOo Esr+orgmklYCQngiYWfyR2ZFsi6sFqBdOoOsi5VaW4ncyNns5TgkHGWh+nE24bcljLYqx JsJ1DOXbem+E8Nfq2DREUUveEWDru5jE5xM3mfe+9b39HRCy3m8IarjJq3wAZFNDqIaMy AtNkO9PLOR+9zebant2y8HICNMVcoMsPugSCQAfQGWK+9B5at2G+uL3RPSb+4jmSeJmqI pmTvKD7Acv8SGCN2e7VRpAMpKsTxsGVclLK8Ygvyjo7PTt7DdTkzFQtMq0kL/osdF3A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796385298; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=40n7gngEAly5FJva+vd0egwnjagwghY8oO0hd5gTQAY=; b=njJ9+dqo4k2OpXKNjw7KGeJ583ucJY+HNPoN6T8FOmFJggXaLZmJ2hhZ67dar5Gz9PAB KvlyGGBfghN78sPd33Kev/EbMXZAJ1OYQO58x6ITow69Pj3FEVeEw1qxxfyX1jR+kTSHF bVHQmGLO4wyXEmAvY85Cue4MFcNUnb6u4wEzhmPv/WnWcb4sBBNqiEsBsU0/+l7JDWmtn jbFRsSd4k4KVMqmvrGH0+UYrCV9gZDB0GlSAfAkus22kLHhYt0UqzLorJGmgV+7yY5D+I on4ox3XCBNnqXTxgto7ddMhkW7Q/3rTXL/paVRFUI1bulaHkZqbo5FpwtmZZEW/DVOQ== 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=AWIqdIWk; 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 39961606A337 for ; Fri, 4 Dec 2026 11:54:58 +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=AWIqdIWk Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7F661F000CE; Fri, 4 Dec 2026 11:54:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796385298; bh=40n7gngEAly5FJva+vd0egwnjagwghY8oO0hd5gTQAY=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=AWIqdIWkM9Gby6brPOCxeHBMJnQW9dlm6SUPmmycwMRDV2pmSm7JBH1+3ThSiGf69 B/eV40ZkYrDUn2rwzMxQvBLzD6XIAooFE6BwfWJ1rxObPqh5GT5YSQIc4mG78BU1Py PkO51NO6LAvwZ0U7+co8uyje2Li2ZkmiVS4tzaosy9luOMygayRiT9a1mQ1L6IHWIx bhArk8WntJChWtWxU9KDUPy7Iqz86Js67HONI+7AzLlR0uHWMkbbJO6mPjyVE7cukD qfBuzXUHlsjKzdx4IgV2e0nlMlP0D5bS9rZe4jToQo5AEmnueyWzZ7i0mdAJI/XVvJ FvZiKHxAy76lQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v9 1/2] dt-bindings: phy: add CIX Sky1 USB/DP combo PHY Reply-To: sashiko-reviews@lists.linux.dev To: "Gary Yang" Cc: 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: <20261204113906.563606-2-gary.yang@cixtech.com> References: <20261204113906.563606-1-gary.yang@cixtech.com> <20261204113906.563606-2-gary.yang@cixtech.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 11:54:57 +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: - [Medium] dt-bindings: phy: cix,sky1-usbdp-phy omits x4 PHY reference clock - [Low] dt-bindings: phy: cix,sky1-usbdp-phy: unconstrained cix,s5-syscon PHY index -- commit 8df421299a83951ea515bb67e5f13ae3de756438 Author: Gary Yang dt-bindings: phy: add CIX Sky1 USB/DP combo PHY This commit adds the Device Tree binding schema for the CIX Sky1 USB/DP combo PHY, covering its registers, clock, resets, S5 system controller reference, and Type-C switch ports. > diff --git a/Documentation/devicetree/bindings/phy/cix,sky1-usbdp-phy.yam= l b/Documentation/devicetree/bindings/phy/cix,sky1-usbdp-phy.yaml > new file mode 100644 > index 0000000000000..20027e923b4e1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/cix,sky1-usbdp-phy.yaml > @@ -0,0 +1,150 @@ [ ... ] > + clocks: > + maxItems: 1 > + description: PHY APB clock. [Severity: Medium] Should clocks also describe the per-instance x4 PHY reference clock (CLK_TREE_USB3C_*_PHY_x4_REF) along with clock-names? include/dt-bindings/clock/cix,sky1.h defines four x4 PHY reference clocks (CLK_TREE_USB3C_{DRD,H0,H1,H2}_PHY_x4_REF) for the four combo PHYs. Capping clocks at maxItems: 1 with additionalProperties: false prevents DTS nodes from describing that hardware input and locks in the ABI. Also, scmi_clk_ops_init() registers SCMI clocks without CLK_IGNORE_UNUSED. Unless firmware explicitly forbids state control on those IDs, leaving a default-enabled reference clock unreferenced risks clk_disable_unused() gating it off at boot. Either add the x4 reference clock and clock-names to the schema and example, or document the firmware-controlled contract in the binding. [ ... ] > + cix,s5-syscon: > + $ref: /schemas/types.yaml#/definitions/phandle-array > + items: > + - items: > + - description: phandle to the S5 system controller > + - description: PHY instance index within the system controller [Severity: Low] Should the PHY instance index cell in cix,s5-syscon be constrained to 0..3 (for example with minimum: 0 and maximum: 3)? Sky1 has four USB/DP combo PHY instances (SKY1_USB_DP_PHY0..3_RST_N in include/dt-bindings/reset/cix,sky1-s5-system-control.h), and commit "phy: cix: add Sky1 USB/DP combo PHY driver" rejects indices >=3D 4 with -EINVAL at probe time. Without a schema constraint, dtbs_check accepts out-of-range values or register offsets, and the binding does not document the valid range. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204113906.5636= 06-1-gary.yang@cixtech.com?part=3D1