From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.migadu.com (out-237.mta1.migadu.com [95.215.58.237]) (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 24C6830D3FF for ; Fri, 21 Aug 2026 04:17:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.237 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787285881; cv=none; b=ICTWuVaRabrbWzYaFFoCZvamK8K326LIxlx9IP1QN/+/LrpzhTXe6BXhoksJ4quVFoxMB1YBuaCMKtwH4qBExKvigz4wXkrHdZu85K2Ntqeq+yIsyBqBg8smcB6XmdUEy7Zi3oMXh3oSDVrDrH8DZeb4dUL5qFWZfu3HuaCHdvs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787285881; c=relaxed/simple; bh=Kaob0xBXv6KFmTVwNElHZy6JxuBgW/R+aOKPIun0ZVQ=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=g1IYa+ePDq7eBWw0mHc7WYkWmwxQg0kRPLRYvXMU9MZ5FzoTYXaRz2LbNmyKE6E1SXM5o2JHvIP0gMB5fNTPUQ4RF3YuEeewfAjnaV/GdZUS0LGC9PFIj3esssadCnw4u/7PQ0K4NpwRxySj5q0LN5PzjrnBJIFFDvNIU0Hy1g4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Aae1+uXb; arc=none smtp.client-ip=95.215.58.237 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Aae1+uXb" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=Kaob0xBXv6KFmTVwNElHZy6JxuBgW/R+aOKPIun0ZVQ=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1787285877; v=1; x=1787890677; b=Aae1+uXbkEO4RVKarSp5WBxgF7s/yh326qXFaSwhq6YwA/dKDUggAY58ObKPAqAbtMtfTTow S7JGWO+ZRsoAn7/Q4KB8x1poN901TmzSXM17C8bLd2lN3ZS9K3Bpemwzo4cdD6enr3hPfBc7EKe d+mrXbG58lwzDG96EOXnaBEA= X-Envelope-To: linux-kernel@vger.kernel.org Received: from localhost (114.94.8.21) by smtp.migadu.com with ESMTPS id 782bfd1962df596d; Fri, 21 Aug 2026 04:17:56 +0000 X-Mizu-Trace-ID: 782bfd1962df596d X-Migadu-Flow: FLOW_OUT Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 21 Aug 2026 12:17:53 +0800 Message-Id: Cc: , , , , , "Troy Mitchell" , "linux-riscv" Subject: Re: [PATCH 0/6] Add SpacemiT K1 USB2.0 controllers support From: "Ze Huang" To: "Junzhong Pan" , "Ze Huang" , "Greg Kroah-Hartman" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Yixun Lan" , "Xu Yang" , "Peng Fan" , "Peter Chen" , "Philipp Zabel" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Alexandre Ghiti" X-Mailer: aerc 0.21.0-146-gb5c16ebe1835 References: <20260812-b4-spacemit-k1-usb2-v1-0-f28cf29e522b@linux.spacemit.com> In-Reply-To: On Fri Aug 21, 2026 at 11:28 AM CST, Junzhong Pan wrote: > On 8/21/2026 10:00 AM, Ze Huang wrote: >> On Wed Aug 12, 2026 at 5:26 PM CST, Junzhong Pan wrote: >>> The SpacemiT K1 SoC has two USB2.0 controllers, one has Dual-Role >>> support, but the hardware has no internal OTG registers, the other is >>> Host only. These controllers are compatible with Chipidea USB2 driver >>> with some flags set and reset control support. >>> >>> This series is based on 7.2-rc1 and has been tested on Banana Pi F3 >>> development board. >>> >>> A self-powered USB device/hub is needed to test the host function of th= e >>> dual-role controller on Banana Pi F3, a MINI-PCIe USB2.0 module (a >>> cellular module e.g.) is needed to test the host only controller. >>> >>> Signed-off-by: Junzhong Pan >>=20 >> Tested on OrangePi RV2. >>=20 >> To use USB2.0 Type-A port as host on this board, usb2_0 needs: >> - dr_mode =3D "host" >> - a vbus-supply regulator driving gpio126 >>=20 >> Tested-by: Ze Huang >>=20 > > Thanks, then I'll add rv2 dts node in the next version. Can you > test again later ? Sure > > Thanks