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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D1AFC43602 for ; Thu, 2 Jul 2026 08:11:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C65C684CB6; Thu, 2 Jul 2026 10:11:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="aI/E61uc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5992F84CB4; Thu, 2 Jul 2026 10:11:22 +0200 (CEST) Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CED1584C85 for ; Thu, 2 Jul 2026 10:11:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=romain.gantois@bootlin.com Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 78912C4FED4; Thu, 2 Jul 2026 08:11:30 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 26C565FF03; Thu, 2 Jul 2026 08:11:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 08C55104C96DA; Thu, 2 Jul 2026 10:11:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1782979877; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding; bh=hAVotZ5ABhRKoVM59vHz60TmZdgANNR/kPIU4OnsLEs=; b=aI/E61uckd3ryCNCL81pGxzMKfUIic4KZxoYVHwXLLFnCswBusCquPKWbQfzBFRQ7CEXgv UT4wkE1rHyWpj82OwkW1tbC6segzHZuY5Qpt//bvCvSuRGwMcDo6VkM64rsZ93eRXoLWnc B3iQ8EhaSje81Wcta/4NZgdH0zVNmPtmihBa55ZKpXWehKQRLsbQbf56nHi9Uv0s9QpeVt BYfMbVxOMOjX1EFMTHnilamAerdEXgM5jC1Zo0lwIU0QUP8uwyyNGqaOfypeIQO3iXHBoI fLOQtXZJ2ax6HC8vqaqJDwJz1lNeg0hVXkdZ1ph+QM49jL6uB7VrCtRRljzyJQ== From: Romain Gantois Subject: [PATCH v2 0/2] usb: gadget: Add Renesas RZ/N1 USBF driver Date: Thu, 02 Jul 2026 10:11:07 +0200 Message-Id: <20260702-rzn1-usbf-v2-0-00ceecebaea6@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/02NQQ6CMBAAv0L2bE1baiGe/Ifh0JZF1mhrWmhUw t8FjInHSSYzEySMhAmOxQQRMyUKfgG5K8D1xl+QUbswSC4111Ky+PaCjcl2TLWlVrquDCoFi/+ I2NFza52bL6fRXtENa2A1ekpDiK9tlsXq/bqHv24WjDOOwpR1V9laupMNYbiR37twh2ae5w8tU +b8tgAAAA== X-Change-ID: 20260622-rzn1-usbf-4d364687ae44 To: u-boot@lists.denx.de Cc: Thomas Petazzoni , Tom Rini , Lukasz Majewski , Mattijs Korpershoek , Marek Vasut , Nobuhiro Iwamatsu , Quentin Schulz , Kever Yang , Peter Robinson , Jonas Karlman , George Chan , Balaji Selvanathan , Herve Codina , Neil Armstrong , Ralph Siemsen , Simon Glass , Peng Fan , Kory Maincent , Ilias Apalodimas , Kuan-Wei Chiu , Raymond Mao , Stefan Roese , Philip Molloy , Jerome Forissier , David Lechner , Julien Stephan , Romain Gantois , Johan Jonker X-Mailer: b4 0.15.2 X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Hello everyone, This is version two of my series which adds support for the Renesas USBF controller, which is used in the RZ/N1 SoC. This will facilitate exposing USB gadgets from RZ/N1 SoCs in U-Boot. The driver was ported from the Linux kernel. The following features were removed to reduce the memory footprint of the driver, and to avoid including features not relevant to U-Boot: - Suspend/resume - Handling of endpoints > 2 - Dynamic detection of endpoint DMA capability (DMA capability is predetermined for each endpoint anyway). Best regards, Romain Signed-off-by: Romain Gantois --- Changes in v2: - Provided the original Linux commit hash. - Corrected a few spelling mistakes. - Link to v1: https://patch.msgid.link/20260625-rzn1-usbf-v1-0-0e1a38f7b82c@bootlin.com To: u-boot@lists.denx.de Cc: Thomas Petazzoni Cc: Tom Rini Cc: Herve Codina Cc: Simon Glass Cc: Romain Gantois Cc: Lukasz Majewski Cc: Mattijs Korpershoek Cc: Marek Vasut Cc: Nobuhiro Iwamatsu Cc: Neil Armstrong Cc: David Lechner Cc: Julien Stephan Cc: Peng Fan Cc: Kory Maincent Cc: Kuan-Wei Chiu Cc: Raymond Mao Cc: Quentin Schulz Cc: Stefan Roese Cc: Kever Yang Cc: Peter Robinson Cc: Jonas Karlman Cc: Johan Jonker Cc: George Chan Cc: Balaji Selvanathan --- Herve Codina (1): usb: gadget: Add Renesas RZ/N1 USBF controller support Romain Gantois (1): linux/list.h: Add list_is_first() MAINTAINERS | 5 + drivers/usb/gadget/Kconfig | 9 + drivers/usb/gadget/Makefile | 1 + drivers/usb/gadget/renesas_usbf.c | 3036 +++++++++++++++++++++++++++++++++++++ include/linux/list.h | 10 + 5 files changed, 3061 insertions(+) --- base-commit: c03e40b49af8d9985a18f04c1218b8c50ce1dd74 change-id: 20260622-rzn1-usbf-4d364687ae44 Best regards, -- Romain Gantois