From nobody Sat Feb 7 10:08:01 2026 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8CD22848A7 for ; Fri, 23 Jan 2026 15:39:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769182774; cv=none; b=GWlgnXnULO5ZQYENOn1XmQIxu0e2dnNAbOyfUFgRom2aZM0atSYuvdSdmdBDX4ycC6EuKEyCfwtrXTxNCMtpCYGJehNF+eIj/vsrjQE/cJULiKCZUflrKU8liFX67Q7erqprMcGFMB/dOMbycIeMxYbVNjlGlAblpw7FQbMVeIM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769182774; c=relaxed/simple; bh=EWRtX14XBOJn75+Yxu8XUThdANVXjkr8JgKSNkcgHfo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DZWqR8/E4E7efcRyB7aMxyravUSTpdFjdD02TCPCm0RxBGmMkNxu3ObLBhQ25zxkRd+OHcl6M3BvAurN6+R8NGK2Mt1CwOwmvQDjYzq57erCL3QP0t6gtA+eK183Zp9xBVWPp84boO19x4vpFEJRrcLLnrBoE0y2xTTjp1Fe1Qk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iF1+MoC3; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iF1+MoC3" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2a0834769f0so15840825ad.2 for ; Fri, 23 Jan 2026 07:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769182772; x=1769787572; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SaQlFGJc3VjbA6sYXTYZs4MxTaxJLLlXJGLonhTWD3Y=; b=iF1+MoC3fOWWKXVqBKAi9PEGOOKLXhjT9KIsbq/u4LCOZKWujMZGMjr5/C3TxvbBuR Gq2VX7wH5lGkdYscqNcUceWC3VPJIxIHL+UqOdsu8hWlNwA6P7+ojVaXcnmDfNhMH4mG 7UjHihdCx8RZUPqfj93SwsH/jRmUvL3uBhfvJhgcRxPDKzQG22KtU7s76RJWCRYh83oG 7YtaaUdYazIsbNEIDmeSf9mvZITXNfoBhDP/cw2aU5zzPPOdzgxJAACFDFtXbKsK6D/H vL9jurGCn95S+IDS3R1LClxE53E9rgCq4Bd/MSt2wOEtz+omAkjpMyml8HWmX8B/XnXs kqEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769182772; x=1769787572; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=SaQlFGJc3VjbA6sYXTYZs4MxTaxJLLlXJGLonhTWD3Y=; b=Yzh/gYGdJYC463qJnvL2TsIcZ5yoaG0mKHM1Qf41MfuxjCX0JAzAepNneET//kncg7 az7vhd/RmGydsF72G3XcnoHL4Yx05/VkdovD4QCPeWynE5ZXhC2q7jObaFtG4whHGlx7 X+tDOr9uBblw4qQUXJn4pkxQsEwRyRY0MeYzEuE64GgzMYH8X5Ulb/aybd5naifUQb0x eEZxhKaBcBo288/AO2MCuT75z2aEmZ7YxWZ9FmXTEcLpokpbhN3eCUXEi4vcGB7A5Muc FGwKIzvih7x3PqWCFmdUAJn2wG4uBLpaB0n8q77nCBZIORzq4f0ReqfKWXCCwxxxxF+K t79A== X-Forwarded-Encrypted: i=1; AJvYcCVWxk2bmeg+F3zfi113h2kZQObIsPw1LqUSsN9cgA3S/aIXFKhcBwB5SehkF4CXdFh+x0ttFPEUBC3402k=@vger.kernel.org X-Gm-Message-State: AOJu0Ywt0vY/tJtppg+ySYYzNXhqWNUTWOxKovGlcMk5yb4jTchdDWQZ GUX90oXlz7JgcIoQC22r8atsEhI8x/NkYf64vmK+ljQr11G0dzPwIwPH X-Gm-Gg: AZuq6aLsqsrtqJP2p2raNYLBd+AQ6ylnCsceAJ8L8EVYhMyH1I2eVL/OhVJ4Gvtuakh Hyqzp33H1RyBWHIAB9WxZ4FejsbxLwaLqSckodgiZxd8fRl0fMaWpAJ8F1YFosNW4iJd8bnVPNU M5nB1HwbyuWrrw8CeMsOSe+35Y/4brEtxOVwXILvQk0mH7pD4aW0aXo8zV9wwPZjZu4UDnIz6r9 7Fbn5zRhMAGcg1RlKRaKggWoupJ2x+5vXvwREYdccrtXFR/vmxuAxh8Kv2jpKPJ7Y1wGHyedOeu ZYReuQvo8dbQsDBnbJW9oJV/71/C5sVWG/KKfqXe0z8MD+ka4aPij4TGfFbMgkTnSLFxfdpisJI Ou0Gz6pcVTB8We5QVDgP+dpBQx8yBZc+6PvGXplpbR8IZX5DvDd9wEffWY2AjuFgGa0tW8B6AM+ KxYxAIC44phx/JqYDcDN1zHIvvMj6lPDNRRQ== X-Received: by 2002:a17:903:32c9:b0:29f:3042:407f with SMTP id d9443c01a7336-2a7fe5740b5mr34186845ad.21.1769182772016; Fri, 23 Jan 2026 07:39:32 -0800 (PST) Received: from Black-Pearl.localdomain ([115.99.251.203]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-2a802f9769esm23732205ad.60.2026.01.23.07.39.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jan 2026 07:39:31 -0800 (PST) From: Charan Pedumuru Date: Fri, 23 Jan 2026 15:39:03 +0000 Subject: [PATCH v4 2/3] dt-bindings: phy: ti,phy-usb3: convert to DT schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260123-ti-phy-v4-2-b557e2c46e6f@gmail.com> References: <20260123-ti-phy-v4-0-b557e2c46e6f@gmail.com> In-Reply-To: <20260123-ti-phy-v4-0-b557e2c46e6f@gmail.com> To: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Roger Quadros Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Charan Pedumuru X-Mailer: b4 0.14.3 Convert TI PIPE3 PHY binding to DT schema. Changes during conversion: - Define a new pattern 'pcie-phy' to match nodes defined in DT. - Drop obsolete "id" property from the schema. Signed-off-by: Charan Pedumuru Reviewed-by: Rob Herring (Arm) --- .../devicetree/bindings/phy/ti,phy-usb3.yaml | 138 +++++++++++++++++= ++++ 1 file changed, 138 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti,phy-usb3.yaml b/Docum= entation/devicetree/bindings/phy/ti,phy-usb3.yaml new file mode 100644 index 000000000000..84f538aa587c --- /dev/null +++ b/Documentation/devicetree/bindings/phy/ti,phy-usb3.yaml @@ -0,0 +1,138 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/ti,phy-usb3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI PIPE3 PHY Module + +maintainers: + - Roger Quadros + +description: + The TI PIPE3 PHY is a high-speed SerDes (Serializer/Deserializer) + transceiver integrated in OMAP5, DRA7xx/AM57xx, and similar SoCs. + It supports multiple protocols (USB3, SATA, PCIe) using the PIPE3 + interface standard, which defines a common physical layer for + high-speed serial interfaces. + +properties: + $nodename: + pattern: "^(pcie-phy|usb3-phy|phy)@[0-9a-f]+$" + + compatible: + enum: + - ti,omap-usb3 + - ti,phy-pipe3-pcie + - ti,phy-pipe3-sata + - ti,phy-usb3 + + reg: + minItems: 2 + maxItems: 3 + + reg-names: + minItems: 2 + items: + - const: phy_rx + - const: phy_tx + - const: pll_ctrl + + "#phy-cells": + const: 0 + + clocks: + minItems: 2 + maxItems: 7 + + clock-names: + minItems: 2 + maxItems: 7 + items: + enum: [wkupclk, sysclk, refclk, dpll_ref, + dpll_ref_m2, phy-div, div-clk] + + syscon-phy-power: + $ref: /schemas/types.yaml#/definitions/phandle-array + maxItems: 1 + items: + items: + - description: Phandle to the system control module + - description: Register offset controlling PHY power + + syscon-pllreset: + $ref: /schemas/types.yaml#/definitions/phandle-array + maxItems: 1 + items: + items: + - description: Phandle to the system control module + - description: Register offset of CTRL_CORE_SMA_SW_0 + + syscon-pcs: + $ref: /schemas/types.yaml#/definitions/phandle-array + maxItems: 1 + items: + items: + - description: Phandle to the system control module + - description: Register offset for PCS delay programming + + ctrl-module: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle of control module for PHY power on. + deprecated: true + +allOf: + - if: + properties: + compatible: + contains: + const: ti,phy-pipe3-sata + then: + properties: + syscon-pllreset: true + else: + properties: + syscon-pllreset: false + +required: + - reg + - compatible + - reg-names + - "#phy-cells" + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + /* TI PIPE3 USB3 PHY */ + usb3-phy@4a084400 { + compatible =3D "ti,phy-usb3"; + reg =3D <0x4a084400 0x80>, + <0x4a084800 0x64>, + <0x4a084c00 0x40>; + reg-names =3D "phy_rx", "phy_tx", "pll_ctrl"; + #phy-cells =3D <0>; + clocks =3D <&usb_phy_cm_clk32k>, + <&sys_clkin>, + <&usb_otg_ss_refclk960m>; + clock-names =3D "wkupclk", "sysclk", "refclk"; + ctrl-module =3D <&omap_control_usb>; + }; + + - | + /* TI PIPE3 SATA PHY */ + phy@4a096000 { + compatible =3D "ti,phy-pipe3-sata"; + reg =3D <0x4a096000 0x80>, /* phy_rx */ + <0x4a096400 0x64>, /* phy_tx */ + <0x4a096800 0x40>; /* pll_ctrl */ + reg-names =3D "phy_rx", "phy_tx", "pll_ctrl"; + clocks =3D <&sys_clkin1>, <&sata_ref_clk>; + clock-names =3D "sysclk", "refclk"; + syscon-pllreset =3D <&scm_conf 0x3fc>; + #phy-cells =3D <0>; + }; +... --=20 2.52.0