From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (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 DD5484AB1BC for ; Wed, 14 Oct 2026 08:21:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791966092; cv=none; b=gv5rxBUSGPjYKYVuyDmDx2Tl2+17as0kjGBLxxMNiRWGGcanz7WWUVJ4M7s/GSjZ8pljdoRGM/dz+zZUi8SvUetRDST4e0h1U22AkFRQyyZQ4njt8wZPhLsomQOo9spVCRCFyvQomsbSnszisHvb5dFTpb+dd5SUt9zfGlZ/VxA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791966092; c=relaxed/simple; bh=ZF13MrI063aqe++Q9B1kh+9t6IG7M6JUt1+4zyXr1qU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=okAK6A37OEteJbI0f4PVHSIGO+leKxdAD8r+iK2EfNMzzHoBSAT8fe+Of83Xcqe8yv6MSg/J77qPRwDF8vaL6HfkBB5IbQWw9Fd4b9i4oMdm1VzHiG7T6XiM+3cIWHdmZJYb+aglGx3hVh71UNcv745iGTmoz9T5CwBb+8yNruI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=JH9ohM9p; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="JH9ohM9p" Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-38759bcd877so2362394a91.2 for ; Wed, 14 Oct 2026 01:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1791966089; x=1792570889; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=yVCZM5zURPRE62cvJS0zNIsVrphYetwj1gaMWhP5efk=; b=JH9ohM9pRIMs8BoAzBS8VHFh4Ag+Z559WXBeXBLHzsWJRO2O6jQoeu5eRW8EHHOwdX dD87NZNos1D6IThM+o6kwm6k2hLuvWSadl8nzruHOxTLnUWIcp6PBR/7tKtufGYlCRqF HGH100h5cZJl0QRf3iFyc8l7WBPypGrJfama0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791966089; x=1792570889; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=yVCZM5zURPRE62cvJS0zNIsVrphYetwj1gaMWhP5efk=; b=ZLi55C4RK/eWapAxqCFshcsUUITm1o0p5INphGniQyy+rzTW7CV48c6OdBtlOAfUmO D9udXpjxDOd3UgIHiQFCugNilgGgd3Lczqnrl4LP4acNIweuLltwTHP2K1h13gsUq0R6 MNyR9gEm8yhGgny9vEl4jzJBTVOv4qdwwfAF2Wp8BA2GHb9XDNr9nMGXEV6auDwRbgLu 0sDJNZ5sJKr+gT59m81GWKKMx0sHdApD193CKBzY34PyzSfUS6/DgnHtxTZAmPTmGtX6 WnB9SK99HYhEommHZBrqhrRXU5jvQW1hkP9/Iw1EgNYprTwnm5u/IT9BoTvYuCgyp1FZ LCGA== X-Forwarded-Encrypted: i=1; AKwUvBysHj3GOIPsScJZ8zqCf2VR2bAgGCVN2P2UFFo3E3NYPRZf1eJrcZCU8gMmN3zhrM7JyR5eFCKRnf7ojZg=@vger.kernel.org X-Gm-Message-State: AFq9FYK+OJRDo8mZCiMxmpCTiyrZ5uxvBJhqp4drvi5lUL4S3iMBbfaI cHkq9P2y5E+wyCXxX0W82RjzafsHg5cud7eiCNF6nYltVde3yaKCgKJvIjXSoeRi0w== X-Gm-Gg: AYBFou1x+V94KF0UwiggryQg5Mafk+m2DI5hvkzNCTFNizRK2APiM0Ov9KIvgAb82OV 8vOpCCQv+VLFVR1N6HeeWI995PgG5R+Au10AXa77EECqeHywFBcFBRccL02vtl//Ex/MI0/zyOQ feQmfX5GTkedFOpxOjPAl6rcktN9os23B5KCG7SG53oMy2WkGz/pruDL22AEQWJJ+3XHxkL4AAF bG4Q9p7U2tb0cuZ8IL60WCv0rp4ezxfE6IxgVEvZqm26CHOL1cxXshxsKy7L5QS6ebgqn+WpA51 QtpFLpF28aSIVut0cbvFBQqaCdXg04NNv0uD22UpS3GUZUX/Slqe2XDufXzHNgANVkyq4Aj08B9 QfPnqFjkvAsEYRd3wnWF6NeqPutNq7TT0PnX2L/83T7wAWDCB8sGGB/2X2pIwd6RvzNAj3+scSt A93uoY7sW0sK4NIPXvMqheixJ80sZ6zzuFfqGLfX5B3Nxe5nMpiZl8aSy/sloLuM0SD+565N0Qm TXAnv7BHxjrs3goJ0hMpI8d5Vskj/RR/MusLqkk/7Mgab5klnIbqsmJ5w== X-Received: by 2002:a17:90b:2b44:b0:3ac:7842:bd50 with SMTP id 98e67ed59e1d1-3ac7842c19bmr520798a91.15.1791966089278; Wed, 14 Oct 2026 01:21:29 -0700 (PDT) Received: from wenst-7875.tpe.corp.google.com ([2a00:79e0:203d:7:373a:9eb7:c5ba:7b5c]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3ac5f04e324sm3682141a91.2.2026.10.14.01.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2026 01:21:28 -0700 (PDT) From: Chen-Yu Tsai To: Greg Kroah-Hartman , Felipe Balbi , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Chen-Yu Tsai , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Sven Peter , Janne Grunau , Neal Gompa , Joel Stanley , Andrew Jeffery , Ryan Chen , Billy Tsai , Michal Simek , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peter Griffin , =?UTF-8?q?Andr=C3=A9=20Draszik?= , Tudor Ambarus , Heiko Stuebner , Alim Akhtar , Kunihiko Hayashi , Masami Hiramatsu , Yixun Lan , Troy Mitchell , Minda Chen , Shyam Pandey , Wei Yang , Senchuan Zhang , Hang Cao , Li Jun , Peng Fan , Roy Luo , Yang Xiwen , Ahmad Zainie , Robert Marko , Xu Yang , Wesley Cheng , Stanley Chang , Ze Huang , Aswath Govindraju , Roger Quadros , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, linux-aspeed@lists.ozlabs.org, imx@lists.linux.dev, linux-samsung-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev Subject: [PATCH 1/2] dt-bindings: usb: hcd: Add downstream USB ports Date: Wed, 14 Oct 2026 16:20:35 +0800 Message-ID: <20261014082037.1774672-2-wenst@chromium.org> X-Mailer: git-send-email 2.56.0.212.g129ede20d9-goog In-Reply-To: <20261014082037.1774672-1-wenst@chromium.org> References: <20261014082037.1774672-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Besides hard-wired downstream USB devices, a USB HCD's downstream ports can also connect to USB connector nodes via OF graph, just like with a USB hub. Allow a "ports" child node and describe the possible downstream port nodes. USB downstream port numbers start at 1. Also fix up the address portion of hard-wired downstream USB devices to match. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml index 45a19d4928af..24df99dfb243 100644 --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml @@ -29,8 +29,16 @@ properties: "#size-cells": const: 0 + ports: + $ref: /schemas/graph.yaml#/properties/ports + description: The downstream facing USB ports + + patternProperties: + "^port@[1-9a-f][0-9a-f]?$": + $ref: /schemas/graph.yaml#/properties/port + patternProperties: - "^.*@[0-9a-f]{1,2}$": + "^.*@[1-9a-f][0-9a-f]?$": description: The hard wired USB devices type: object $ref: /schemas/usb/usb-device.yaml -- 2.56.0.212.g129ede20d9-goog