From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=100.103.45.18 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1794295208; b=Ul4kGrzWVR0tX8s23x2Nv74URI8MpviqPlyUaW8HEoa5XP6MJx/1UTBhwpGqFEmLwvhp /A87GGaXDVpdvnM2NPYJ0cTOWi7zIzqGCWZPibPFiCjmXzkfehK0KoZ/aUn9GGEwmE0sW Zy8xcZzb0XLOGA5vxkYKjP1cuiLsCZXAsvo4gRjn7XNq504nKWj+vmcqBvQizMDSiLIYw jqCVzqZZGwfOZ48zwmF1FiyKmxW1U5q4glremWtSPQRJAaxAY40OPdRZlmNlwFy50C1VK ePxbWicJS793PQDI9/LDCSoUa4JB/rZVDWeUg5694czuRBgX8sQ/fI0fOh0Kb/FOXoA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794295208; h=Received:DKIM-Signature:Received:From:Date:Subject:MIME-Version: Content-Type:Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=DkaffjxzggLlMXpgZQepyL18nNM0osfja6I6IUMmRsY=; b=GqCzglWwSlgoab18Srxq21w1S1G3IdMTPDiLaa2l/o1r24goDHatz6XdJK7C7aUKgghz T2bql4672WWsO1k7i18HE8quwjWCF/GTZ7vJVgSrPUUg9fbchad9+VNID0SM3kFGYC5/l /hR1HcwezPEqRcKA7KH78ZvNW9DLYN1wYS2cTplS2IyGyL/HA9JsjDC9IR1FNYuEPLItN BcK44DMnG5ZuIa3OB6BZyM3Sk3F6FhTrwJPO/Vwr3zoxocyCzLfmtvWVOukWmK7yXiojM VbqdaLsMsJzPFVAHk4d3S+lyd6iE1hjB50QEapa1wxZkZXqOCFJP6/Ly3GjEVHaEBrQ== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=UqZcLjUi; arc=pass header.oldest-pass=0 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 2BF20606A33C; Tue, 10 Nov 2026 07:20:07 +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=UqZcLjUi Authentication-Results: smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 ARC-Seal: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; cv=none; t=1794295207; b=MMS0NZO+6shkKxT0/Z4AzrcufdCvVwLjvPpLlzauf++4tkr5E9MIyfxxT3GLzP6YQDWP FHM30yPIIX/VscYXOmCDxM8jzvD6y5VQmOc2gAGjBH2qfTRNLyV99TNx46cL7DfM3sE16 I+Js8aLeVaUbtZEgSO6BtT4MJfA2gkGhmJa2M+UWwW+Skf6N37XBFqgfgl6qz8/c1iePS 6EAtZdz+ig1AJT40qKblFPUM3X5Owlanwka9+LPT3A6lx21x/W8rl/D93zgj54WpLIgjr IO83mDORLglnvKmpz9mLyQPuJBz6rzClJu5ycmzb2LJCZFWw9r2VKK8ot6Ndnm+2Riw== ARC-Message-Signature: i=1; d=kernel.org; s=arc20260519; a=rsa-sha256; c=relaxed/relaxed; t=1794295207; h=DKIM-Signature:Received:From:Date:Subject:MIME-Version:Content-Type: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Endpoint-Received: X-Original-From:Reply-To:Content-Transfer-Encoding; bh=DkaffjxzggLlMXpgZQepyL18nNM0osfja6I6IUMmRsY=; b=YsoFqwNCiUPbI+YIRdGEKn7d4Odo1zjQT+qLvzMiuNmhT0wANWKVi28MOrKgdMsH7ZYX PzAGqsOSU/yXPryiwKbnWpbBq3QMfW4q32z9JWCWJ7seOAVj21MIMfuRAIfukDYLe+A/L FrpItq6uD7FCPyKG/l9/PNmNl+vQti6SMZo343ulMVp+lJ8hVqXLDr0nw+QZB16rZnltp RYRY7JmvEfy6DU3BpoOZi9W1U7BOl35kXOa6Gk3QUkLREKWY5Vng+VLSjVmn0TjkZ5mms ZN1zXpRBwWo0dOJqDVwVdAxueT4TWYj6W8Lcz8Rpqr9GK1ft62nREPgq5xk/6humdIQ== ARC-Authentication-Results: i=1; smtp.kernel.org; arc=none smtp.remote-ip=100.80.115.77 Received: from lkml.kernel.org (nexus.subspace.kernel.org [100.80.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 15EA11F008A2; Tue, 10 Nov 2026 07:20:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794295207; bh=DkaffjxzggLlMXpgZQepyL18nNM0osfja6I6IUMmRsY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To; b=UqZcLjUiTc3ARHGFm43xcIoSePOF302bX7Jc0I8jrs/9F/YWlP1qAFvNRC4viosbH Ak3uLH9/NoB/Sbwa7swYfsOzboWbxFCmJKCGTmiZZN27N7Pt9l7yMDk+9iA7+ZQjfv M4Gtx3o+9VepifF/DSBCqjxtGWGHmokaloK2GpNM/ZggNA1VNRfV4O8+biQ6kvkZdd wPC2s9UpxQXCHKEgpmyIv6stwfxWxau1ViU3u3SeU6a41vrZ37OxTIOL6vzPNImaAy Be5Rkkc3Ly3qwAdCXcpyFepoUKoIrqWtX5lbTeD5VouPRwwGPqCvWb8AgJtUP1j2Rz ORtMKz5BuWd/A== Received: from nexus.subspace.kernel.org (localhost [IPv6:::1]) by lkml.kernel.org (Postfix) with ESMTP id 9ED2C489E3; Tue, 10 Nov 2026 07:20:06 +0000 (UTC) From: Arun Iyengar via B4 Relay Date: Tue, 10 Nov 2026 07:20:06 +0000 Subject: [PATCH 1/4] dt-bindings: usb: generic-ehci: Allow describing the root hub ports X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <20261110-usb-port-pairing-v1-1-9307e29d2ed2@gmail.com> References: <20261110-usb-port-pairing-v1-0-9307e29d2ed2@gmail.com> In-Reply-To: <20261110-usb-port-pairing-v1-0-9307e29d2ed2@gmail.com> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Alan Stern Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1794295206; l=1701; i=aiyengar1990@gmail.com; s=20261110; h=from:subject:message-id; bh=XJm2p3cBaQH7CQW9BFwWeXyIaL1TnsEG5XYxo2DdPHY=; b=Z49FAgk/mtw577IjyyCSPTGHpreFuxeB4B4vjpWfaQWB5Atdm9uqD8p9EESPkon+PAAAw5EcB 3em7S98g/2ED+rXTPW9X7btWvyF4foVvaC0EaT/g/Za/sHFcj8Ps3Rj X-Developer-Key: i=aiyengar1990@gmail.com; a=ed25519; pk=zXpRgUTrhaFe6jLyPqbBy3ccfkj04w0g2690Wv3mg+0= X-Endpoint-Received: by B4 Relay for aiyengar1990@gmail.com/20261110 with auth_id=1480 X-Original-From: Arun Iyengar Reply-To: aiyengar1990@gmail.com Content-Transfer-Encoding: 7bit From: Arun Iyengar The USB 2.0 lines and the SuperSpeed lanes of a USB 3 connector don't always reach the same host controller. On the Rockchip RK3588, the SuperSpeed-only USB 3.0 host 2 (xHCI) is paired on the board with one of the separate USB 2.0 hosts (EHCI/OHCI). Only the device tree knows which EHCI root hub port shares a connector with which SuperSpeed port. The USB core already reads a hub's OF graph, with one graph port per downstream port, and uses it for the port connect type. Allow the same "ports" node on EHCI controllers, so that a root hub port can be linked to its usb-connector node. Signed-off-by: Arun Iyengar --- Documentation/devicetree/bindings/usb/generic-ehci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml index 908b02d9175e..9dcba539d60d 100644 --- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml +++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml @@ -160,6 +160,19 @@ properties: - host - otg + ports: + $ref: /schemas/graph.yaml#/properties/ports + description: + The root hub's downstream facing ports, linked to the connectors they + are wired to. Needed when a connector's SuperSpeed lanes go to a + different host controller, which then pairs with the root hub port + through the connector. + + patternProperties: + "^port@[1-9a-f][0-9a-f]*$": + $ref: /schemas/graph.yaml#/properties/port + description: Root hub port, numbered from 1. + required: - compatible - reg -- 2.55.0