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 045B21093177 for ; Fri, 20 Mar 2026 06:53:02 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=doqoJf+RU3mxXcl64L9v62GUgH7sN/z0FMIG/yES5Sw=; b=IJFdF+13CmlYXH gb31AbJ3772iNbbXjBceN966bqUTs0k8t5RmvyxXzd5sJFWpEz+0YobBSriUeSHqKZP0MdtoGlulW VQxpRUp2Vz+giOocLKqkSDhvwKA9iqNxFSWyglESpAL9TSPYTVUtCak69+3AyGax1AvORKGR1eGQx 9TRXUwfexlGwZV0Qa/WENdNd+nDkacTdAwBkHjBb4oPV9WWBMEI8ZO7ABrFERIrWlwn3WWZrD8O2A /6qbES4kHoqNGNY2YxB73kJ9dLgf5HDH+Xgtjv0bHhqJXL/jxSc3H0As3lW6MrA2bKqLbcfZ6Ubcx qPJSWgafJ2t2kGml2wZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w3Tj5-0000000CCXW-3VZE; Fri, 20 Mar 2026 06:52:55 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w3Tj3-0000000CCX3-0BT4 for linux-riscv@lists.infradead.org; Fri, 20 Mar 2026 06:52:54 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 45A284186B; Fri, 20 Mar 2026 06:52:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE85AC4CEF7; Fri, 20 Mar 2026 06:52:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773989572; bh=p2htuBs8PAxsr+M8npHG3JZLi5D55VFMsnVeGu+RJq8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FcJNjocCOgudrAifopOv7t62HqLUQ9dLHF/dgHRennPWiPj2K/HofOcKTpvXaYVCq HmqQz972ZkM3n9tE+oaVynqHwgebi0OrPEa9xl1x0zUmW9ttPx5medYBbmaUzbeVs+ i47Mf8ygjJqwUs4yEPdO7aUzJ/+RKCzr+8bQucuZuXUxtOL53AjPqIUEa1KgOXacor iqgnp1c3YVON1R5z9F0x3Zxkli8QyfGjgptBZrsbRfeiV6R1RvRlgga7GE0h4Btxmz wZf+GKcXnOzN8kPnNhBsU2N6azLyZMhOLzXYz4G2VrqhgdINexNOsP3QWhQLji/BzN J2jl0N5JAoaPA== Date: Fri, 20 Mar 2026 14:52:49 +0800 From: Yixun Lan To: Conor Dooley Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ze Huang , Thinh Nguyen , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Emil Renner Berthing , Junzhong Pan , Inochi Amaoto , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: usb: dwc3: spacemit: add support for K3 SoC Message-ID: <20260320065249-GKA523803@kernel.org> References: <20260317-02-k3-usb20-support-v1-0-d89f59062ad4@kernel.org> <20260317-02-k3-usb20-support-v1-1-d89f59062ad4@kernel.org> <20260317-shortness-gecko-72f14fbc79f2@spud> <20260317214435-GKA453922@kernel.org> <20260318-crock-tinderbox-ae12024627d9@spud> <20260319024124-GKB489299@kernel.org> <20260319-garbage-scrunch-37dc1b72d56c@spud> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260319-garbage-scrunch-37dc1b72d56c@spud> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260319_235253_123917_636B81B7 X-CRM114-Status: GOOD ( 22.70 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hi Conor, On 14:36 Thu 19 Mar , Conor Dooley wrote: > On Thu, Mar 19, 2026 at 10:41:24AM +0800, Yixun Lan wrote: > > Hi Conor, > > > > On 17:21 Wed 18 Mar , Conor Dooley wrote: > > > On Wed, Mar 18, 2026 at 05:44:35AM +0800, Yixun Lan wrote: > > > > Hi Conor, > > > > > > > > On 12:55 Tue 17 Mar , Conor Dooley wrote: > > > > > On Tue, Mar 17, 2026 at 11:53:02AM +0000, Yixun Lan wrote: > > > > > > Add compatible string for DWC3 USB controller found in SpacemiT K3 SoC. > > > > > > The USB2.0 host controller in K3 SoC actually use DWC3 IP but only has > > > > > > USB2.0 functionality, and requires only one USB2.0 PHY connected. > > > > > > > > > > > > Explicitly reduce number of phy property to minimal one. > > > > > > > > > > Is this valid for the existing compatible, will it work with only one > > > > > clock? > > > > > > > > > I didn't change clock binding, do you mean phy? > > > > > > > > Both k1 and k3 work with one clock (no change here) > > > > > > > > for phy, the existing k1 requires two. for k3, one controller requires > > > > one phy due to only has USB2.0 support, other controllers requires two > > > > phys - USB2, USB3 PHY > > > > > > Yep, phy is what I meant. Sorry bout that. Since you're relaxing the > > > constraints for the k1, can you please add a conditional section to the > > > binding to enforce 2 phys min for k1? > > > > > > > To be explicit, the change should be applied to both K1 and K3, even in K1 > > use case, it's perfectly fine for designer to choose enabling USB2.0 > > only, and leave the comb phy to pcie contoller, so only one phy required > > In that case, can you be more clear in the commit message about why this > is also being done for the k1 please? sure, I will do it in v2 -- Yixun Lan (dlan) _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv