From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (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 BDB744A3F17 for ; Wed, 14 Oct 2026 08:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791966081; cv=none; b=Hc59yiYT6CxpaE7qT9uPuYKkts4bHt58cx4M3LD6Uh+6u/RCGar2Ha6Tvlh8BvpNLny+HO8gvdLbxTCsni5wPQ9FRJcNg58+9B1ovLgTEGA4RCoheM3HtgJJEO82hw5lN602raHT7RPFUX7KTTRfyxjcofm12QJN4cAoDZszREQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791966081; c=relaxed/simple; bh=f4Crb3c+dv8KnX89knlqIY/7BdSoK+Hx/YKrvclncpc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FA3ZKs6osq8DPbzIJGD1JCUNNT3sviGooEnv5S4wIz09IIR/DuYxAs8inn/arXOumKcVDgX50l5XkYby6+EV7VsCxwjRUe+2/B+AH66FWsXNFXYZooxB35eU9CjzqJfsFMS41WNOHg6Izzhxm0z6czb/9wFSG5KfVMcXbWt0RVk= 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=YbyIAv97; arc=none smtp.client-ip=209.85.215.178 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="YbyIAv97" Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-cc50ad2d650so2891719a12.1 for ; Wed, 14 Oct 2026 01:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1791966078; x=1792570878; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=j8YsVbXOdF61Llj8qBDqVp2Fp9mYBbP2iNpUhV0IltE=; b=YbyIAv97IqjvLGoQERwaAOsZvgnQuj1InwSqSY8ZDdnH2ekgpXjwCAkBG0DWIm25hP aXA+QnP8GZaVYp3jqne2xaiLaOfkSMX73ByMowHfzpcCn4BzxROy9mZ3qSrDM9qgFlT+ I0UFTtlK/rgA/Hmzd6RnDH/c5ZATYlX0wvWC4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791966078; x=1792570878; h=content-transfer-encoding:mime-version: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=j8YsVbXOdF61Llj8qBDqVp2Fp9mYBbP2iNpUhV0IltE=; b=LKv8pe+J7oKwMzN/kL5hkNKTRnHxVDbxpZnMnK5CJZBqMDZC2d0HkDXrwhNl8E0sVL uee6vopIToQbRzJ7Cr1cpqOzJtAod3dQqAwJTUOQEmWXYQl9/dEv8X7CDPclP+WeXBkj c/6KmpzbfziVPL+UuqQRIM13QGtMvJANpkNDEXElNLbYoHHxVZYUX7L/S9BuvdNqrHU+ dHTBi/BJUBxmtdvfBl/dwx49aGip0uPt39y/TJxTV9FK+N66nnD+1D79Wn+ElfGbQZIa 7wrTOCwe2olakjGRqdy1CQqpNPOq9QRz/EUz+2U6PKeAYqoDsbwwTsGWiZ5VA/tc7cf3 /j9A== X-Forwarded-Encrypted: i=1; AKwUvBy7KH4UBZANTgLC/BSViL/GWd1tuxxvPJrgO6vGjgeKzme3YXa0AjPwZOsPPCkruawd6ESugI+tJvdpkvQ=@vger.kernel.org X-Gm-Message-State: AFq9FYJVTcauuXAbmMDjg06xmMcmqt+1gqmuCWySxR6SZm2dTwUFPJLR DORxFHua8AvFUv/2fYQLhvojKkH6aOftagc7MZHRVYPuUaLwmjXBOR6mRTZyun9YEA== X-Gm-Gg: AYBFou09ydoiKyk5dnrg/0/blQc0Y2ZFUKEGSTc5vzDokCos8H4K4LK1LD+QI+VyzrP VO/t5HBtuf8RYqe5QmjquzBwV2M9DOMpVG1s4TozJEhOWZwBfUUHWCQh0wXTQI/tjOutgX8+Qk/ m0sipz7pZXs1UtvKJ86CR8CESVQlQdWSH0h7brQ991MfDYBcCeWcJ3tCPNtQycorPt6xez3zSkw oduicbDJvAWcC8R023ECI72U1VO65jpOm3P5RicMeonRKYPruLhPA9EB9KPU80f8LeXAiOVoGYU pkPEj6UgydYBRgIRwdBJZLEqfpTLcSUMVlW/nH/YOD0gZiIVZAKYHg5vqu0w32acC/PXC/N13gM P62kJC+TVDEo+FAsPoEndp5R9KuA4y30i8RTgOLYBTnV8ZkLPfGPndQ4TpTTcQgiX+/FMXhIRE4 gIp+ZVotgWaMK++1ToQAr/BJ+CuOVmrfiCcC28qf9jnIL3wjZeRqLi3P+5sxt7TUckS37XuNwf8 C5u7GSrkcEtiCJ4/UjQsVBqjn0ePSNhbk5QPiG0vLsVOcxlgGQFGGJKUJQVpd9EH26W X-Received: by 2002:a17:90b:4a45:b0:39d:f247:bab with SMTP id 98e67ed59e1d1-3ab3a2fe791mr12737876a91.6.1791966077891; Wed, 14 Oct 2026 01:21:17 -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.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2026 01:21:17 -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 0/2] dt-bindings: usb: downstream host ports for hcd and dwc3 Date: Wed, 14 Oct 2026 16:20:34 +0800 Message-ID: <20261014082037.1774672-1-wenst@chromium.org> X-Mailer: git-send-email 2.56.0.212.g129ede20d9-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi folks, I mentioned to a couple people at LPC that the USB host controller bindings were missing downstream port definitions, and that the ones used for dwc3 don't align with USB hardware port numbering. The dwc3 discrepancy was originally noticed by Wei [1] and Konrad [2] while adapting my M.2 E-key USB support series [3][4] to Qualcomm devices. Here are the binding changes. If you were CC-ed, then you were listed as the maintainer of any one of the dwc3 implementations or platforms using it. So this change would affect you. Patch 1 adds the "ports" definitions to the common USB host controller binding. This just follows what is used in usb-hub.yaml. Nothing special. Patch 2 "fixes" the port numbering used in the common dwc3 binding. The dwc3 includes an XHCI for host mode operation, and its port numbering should follow the common usb-hcd.yaml binding. This clashes with the existing arbitrary port numbering found in dwc3. I checked all the big projects, and it seems that only Linux is using them, and it doesn't care about the numbering anyway. So while the patches looks small, there are actually 26 other dwc3 implementation bindings that are affected. And this series currently only has the binding changes. There are probably close to 500 dts files that need to be fixed as well. I asked LLM to help me fix the arm64 ones already, and it seemed to do a good job with some hand holding. Please have a look. I fully expect there to be a lot of hair pulling. Thanks ChenYu [1] https://lore.kernel.org/all/20260731073306.1895428-1-wei.deng@oss.qualcomm.com/ [2] https://lore.kernel.org/all/c6526ba0-be08-46c6-a501-1b161939657c@oss.qualcomm.com/ [3] v6: https://lore.kernel.org/all/20260721065413.2306137-1-wenst@chromium.org/ [4] v9 (latest): https://lore.kernel.org/all/20260916075745.3549953-1-wenst@chromium.org/ Chen-Yu Tsai (2): dt-bindings: usb: hcd: Add downstream USB ports dt-bindings: usb: snps,dwc3: Fix downstream port numbering .../devicetree/bindings/usb/snps,dwc3-common.yaml | 4 ++-- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) -- 2.56.0.212.g129ede20d9-goog