From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpbgeu2.qq.com (smtpbgeu2.qq.com [18.194.254.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59BBC26290; Mon, 13 Oct 2025 09:38:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.194.254.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760348306; cv=none; b=fkMfa6fKynmz0Yh6Hm4LrTMZdTP/aZJN3TNJUvHvyc4q3BtGylTO9cVAJWDMBHfTFGtAlEAveyHU1KSRAvsgjPLt+XMbl58vOCwfyHZeiOPB97YI1Vi2EiuOuxGdcU4/U0VDGvC0Ml9OqJ7TQEHinb6tJOx9owmneeHm90duqzY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760348306; c=relaxed/simple; bh=TiXbg72QqgA4BnTEEMu0KGbCUDFtZ0Q5AlBXuwEH44o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bKT6/1Iq9H+xYv6IAofxcDEzseUIxwEqjn6f9RdZKqpJUdrVewMztO5hZ3HpLyMQAFyq9ydszf8Ebguc99nxUIZOuxTZHWF4op4xHHWcUWiPeqQvVXBZChgA8bl6Srlg/BkhbQpeswqPVaWQVEkzUpZBOreRWiStaM8rmrSoWKg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux.spacemit.com; spf=none smtp.mailfrom=linux.spacemit.com; dkim=pass (1024-bit key) header.d=linux.spacemit.com header.i=@linux.spacemit.com header.b=Ez1Pmdz9; arc=none smtp.client-ip=18.194.254.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux.spacemit.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.spacemit.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.spacemit.com header.i=@linux.spacemit.com header.b="Ez1Pmdz9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.spacemit.com; s=mxsw2412; t=1760348293; bh=FKV5rcOU3NiQueOAKmsQZIMEQoY0gM/PgsfKPak6dIU=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=Ez1Pmdz9PibsVWiivzwyns05u+G7nCeT6rukKIGBRfFGeSnnvqY9hhgDfPwztSvUq E6Mb3Mtx9vqxJjpF1Ebp112LXXt3eE4yntA0+tRW51Wf4C5SukjEbx19aEQaQeyefa 4cjJbFvp/DbCHLXwogP7wfH/EnKNcIZ6nchH1d/E= X-QQ-mid: zesmtpgz6t1760348287t76bc683d X-QQ-Originating-IP: 0yrPrwLnm0gGgvkYYE+D/xX95XiUkzU9yKkuKrbC1Gw= Received: from = ( [61.145.255.150]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 13 Oct 2025 17:38:05 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 6530773640354334042 EX-QQ-RecipientCnt: 15 Date: Mon, 13 Oct 2025 17:38:05 +0800 From: Troy Mitchell To: Ze Huang , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Thinh Nguyen , Philipp Zabel Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Troy Mitchell Subject: Re: [PATCH v8 0/2] Add SpacemiT K1 USB3.0 host controller support Message-ID: References: <20250913-dwc3_generic-v8-0-b50f81f05f95@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To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mkhriz4bqrvdOvn4zMmm03kse5X43skkfjBR7Kq3Ns Thj0rafH7SGK0uq/eh7G1cECsZFSnYzWNZ7wz52JQv+7FOzZ+FtXHiKSC0CfzpqpJW81SHn jttRKzUFxqne2kyVW0at8z5GxVJtVZN716m0FxGTM0d58Ces/RvCELSGtzXmV0njYL8lSc1 Xiwj2X7iGEz X-QQ-XMRINFO: Mp0Kj//9VHAxr69bL5MkOOs= X-QQ-RECHKSPAM: 0 On Sat, Sep 13, 2025 at 12:53:46AM +0800, Ze Huang wrote: > The USB 3.0 controller found in the SpacemiT K1 SoC[1] supports both USB3.0 > Host and USB2.0 Dual-Role Device (DRD). > > This controller is compatible with DesignWare Core USB 3 (DWC3) driver. > However, constraints in the `snps,dwc3` bindings limit the ability to describe > hardware-specific features in a clean and maintainable way. While > `dwc3-of-simple` still serves as a glue layer for many platforms, it requires a > split device tree node structure, which is less desirable in newer platforms. > > To promote a transition toward a flattened `dwc` node structure, this series > introduces `dwc3-generic-plat`, building upon prior efforts that exposed the > DWC3 core driver [2]. > > The device tree support for SpacemiT K1 will be submitted separately when the > associated PHY driver is ready. > > This series is based on 6.17-rc1 and has been tested on BananaPi development > boards. > > Link: https://developer.spacemit.com/documentation?token=AjHDwrW78igAAEkiHracBI9HnTb [1] > Link: https://lore.kernel.org/all/20250414-dwc3-refactor-v7-3-f015b358722d@oss.qualcomm.com [2] > > Signed-off-by: Ze Huang > --- Tested-by: Troy Mitchell Thanks, Troy