U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kongyang Liu <seashell11234455@gmail.com>
To: u-boot@lists.denx.de
Cc: Jonas Karlman <jonas@kwiboo.se>, Lukasz Majewski <lukma@denx.de>,
	Marek Vasut <marex@denx.de>,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Simon Glass <sjg@chromium.org>,
	Teik Heng Chong <teik.heng.chong@intel.com>,
	Tom Rini <trini@konsulko.com>
Subject: [PATCH 0/2] usb: dwc2: Refactor and update USB DWC2 driver
Date: Wed, 22 May 2024 22:22:47 +0800	[thread overview]
Message-ID: <20240522142311.17351-1-seashell11234455@gmail.com> (raw)

This series improves the USB DWC2 driver by extracting register definitions
into a common file for better readability and updating the reset method to
reflect changes in version 4.20a, including the new GRSTCTL_CSFTRST_DONE
bit for reset completion indication.


Kongyang Liu (2):
  usb: dwc2: Extract USB DWC2 register definitions
  usb: dwc2: Update reset method for host and device mode

 drivers/usb/common/Makefile                |   2 +
 drivers/usb/common/dwc2_core.c             | 103 +++
 drivers/usb/common/dwc2_core.h             | 557 ++++++++++++++++
 drivers/usb/gadget/dwc2_udc_otg.c          | 124 ++--
 drivers/usb/gadget/dwc2_udc_otg_regs.h     | 247 +------
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 306 ++++-----
 drivers/usb/host/dwc2.c                    | 392 +++++------
 drivers/usb/host/dwc2.h                    | 736 ---------------------
 8 files changed, 1039 insertions(+), 1428 deletions(-)
 create mode 100644 drivers/usb/common/dwc2_core.c
 create mode 100644 drivers/usb/common/dwc2_core.h

-- 
2.41.0


             reply	other threads:[~2024-05-22 14:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-22 14:22 Kongyang Liu [this message]
2024-05-22 14:22 ` [PATCH 1/2] usb: dwc2: Extract USB DWC2 register definitions Kongyang Liu
2024-06-22 23:14   ` Marek Vasut
2024-06-27 11:33     ` Kongyang Liu
2024-06-30  2:49       ` Marek Vasut
2024-05-22 14:22 ` [PATCH 2/2] usb: dwc2: Update reset method for host and device mode Kongyang Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240522142311.17351-1-seashell11234455@gmail.com \
    --to=seashell11234455@gmail.com \
    --cc=jonas@kwiboo.se \
    --cc=lukma@denx.de \
    --cc=marex@denx.de \
    --cc=mkorpershoek@baylibre.com \
    --cc=sjg@chromium.org \
    --cc=teik.heng.chong@intel.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox