From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A98DCC6B1A for ; Wed, 14 Oct 2026 08:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=t1G9VOF23KEYPQjmOT94QRVK217BFaBWFzaSgeVD/Y8=; b=yQCDNoGLSLG7VX L8RtoA+cEChZn2RybOl2DE4Eyp+ERTNogS5p/FEOsVCyDrIMCf11NusHRp+DLbksBZCuuxj+4/cVi 7XxpCnSB51v4WYAA+Y0lPtKH6acHcUQouDMi7aSeSt1FTH8TaNUZc9pEGMFJTPr+Chcqiv87CbmPn FX67jx3tkJdfv+QDHVjciZo/k04pojnlF5J2bNORfINp6BOFAOgI3UoWga8IO/ONBJAdbWLIaXp/x /6wJWgrLtoV5XiNEMOEPezqEh2l2eBCZ1yqTXHeunkJqEm2dz9xdKJ0jcJAgZWqOcUNUCdQgayEpa u/TQoSyHjZDLvP+blzmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xGuEk-0000000Erwc-1gCi; Wed, 14 Oct 2026 08:21:22 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xGuEh-0000000Ervi-1Gos for linux-amlogic@lists.infradead.org; Wed, 14 Oct 2026 08:21:21 +0000 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-3ab450c0873so3211632a91.3 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=lists.infradead.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=lW0gA5aelr4uJmLkDKadaeYXqe7w6QnllFmwPrs/ClpPAR37xe7GdXrSDZ+TvY1sFn Q8xVjo/BFgiB8IPfkZsqJEs5bSMr0j4op70/SmMR++A4L9XmHU4Rd2hOQsMdEDJBWnIs 4GlUqfm9q/tovgD6VkUYjG0ryklUd1JCBil8Q= 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=s7v5wPhpdWFJQX0tvoutI25OSWp+1Twck+whFBG5RwYOZLEcGSJvUaY01HH4Fj6o4K shbRB2rU3141Y//3+ksHuapVqz5hapYfdaV1DH+eGtfSNfBUCLCe9KwpXXDabOw3I2P3 hjgXJFWfVQ8PEOWEmR4SH43YUGFMS0ZAsLA2j2TlgaQL7l0ZhD6HWIQgBj0R5OswHp7v Jn2eAlj2/fD5vuzqYEYcCrYcEutovCB0wPQ8anUllznyY4L8dxiI1fKRwmQJGZYNjwD1 uNf2wskFfEcaeFwc126O+HnPEzqqTONxY/L2gUPa3B+YCZHBpkHzz/o/ownaFm+bTCpq gFrw== X-Forwarded-Encrypted: i=1; AKwUvBy+gZSKuDp7/IcbAonoIBNiGGPntRFRF3aMeHmWwIh+u8mQ0kGgdMXi/huUBFJygVIVkSNRvyWkXJlrcsFT@lists.infradead.org X-Gm-Message-State: AFq9FYI75mlJ4B0WZTMEAZ+PVlW1pjvE84YI7//8z+FVCDXE58Fb7dVb QRGfqsjNi8hOKr8/jhX2REHYxdkR8CY63T9B76Qojns6qBrh5ctKS/XipLJjOjcLRQ== X-Gm-Gg: AYBFou3E7VLByNpZRiQ4Pp8D/lPn3u8GLNPlDWlBAys29TG/RfKTr1lC+OD1ci1DFbi ZMUS/GzLsJs4zcXuMxkXzF93gkL+s0oskI0qPY+OrbQbIEjh+OHgqYYeuT4t6ijUjx7yCJRZos4 XXridQSncu5jIF2K1rTAdrhbQtiKFXroQFDRdlExkuk/APVQ+lQvrr51xiQLots5KRiOQf+yPH0 nwjfnwHYjgJ/Ra5xTS83RhhSEkP+wG5V1JKX7ukSJxgGnq6jVGwAsrP6eRCf97WVDuLzIBgZy63 0NNtfeDnAVCVq7AIg/mqgoLInKFXVCeDOZguSqzm0sPZs8LahLSfYQ203m/ve8ac2QACARGphxQ zRSP055SqMZf9v93+Q2TzQ3ejWlsoNyfGIvtsEvbcidvrDlnBdHq2GQUa+LEh3AOH+rCHP6nvBt LF+Ygk1pweKj7c0w5Rx8ggF6kpCwcptUgSXKP+8yfDz1jY2zw0a2jQr+H6R5UMLIbyPAh0xxj4a 8rcTD02SsCrf1Aq5uFmdDG3WlvJZrUfzl7SJP343dz9bvI3MTYi51vi8gBwB2XKmKh6 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261014_012119_375383_E86010FE X-CRM114-Status: GOOD ( 15.69 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic