From: Daehwan Jung <dh10.jung@samsung.com>
To: Felipe Balbi <balbi@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Alim Akhtar <alim.akhtar@samsung.com>,
Mathias Nyman <mathias.nyman@intel.com>,
Lukas Bulwahn <lukas.bulwahn@gmail.com>,
Tony Lindgren <tony@atomide.com>, Juergen Gross <jgross@suse.com>,
Arnd Bergmann <arnd@arndb.de>,
Matthias Kaehlcke <mka@chromium.org>
Cc: linux-kernel@vger.kernel.org (open list),
linux-usb@vger.kernel.org (open list:DESIGNWARE USB3 DRD IP
DRIVER),
linux-arm-kernel@lists.infradead.org (moderated list:ARM/SAMSUNG
S3C, S5P AND EXYNOS ARM ARCHITECTURES),
linux-samsung-soc@vger.kernel.org (open list:ARM/SAMSUNG S3C,
S5P AND EXYNOS ARM ARCHITECTURES),
sc.suh@samsung.com, taehyun.cho@samsung.com,
jh0801.jung@samsung.com, eomji.oh@samsung.com,
Daehwan Jung <dh10.jung@samsung.com>
Subject: [PATCH v5 0/6] Add xhci-exynos for Exynos SOC
Date: Fri, 6 May 2022 15:31:13 +0900 [thread overview]
Message-ID: <1651818679-10594-1-git-send-email-dh10.jung@samsung.com> (raw)
In-Reply-To: CGME20220506063316epcas2p197ed75070ed4f4ba29439f5c0def90b4@epcas2p1.samsung.com
This patchset is for Samsung Exynos xHCI host conroller. It uses xhci
platform driver and extends some functions by xhci hooks and overrides.
This driver supports USB offload which makes Co-processor to use
some memories of xhci. Especially it's useful for USB Audio scenario.
Audio stream would get shortcut because Co-processor directly write/read
data in xhci memories. It could get speed-up using faster memory like SRAM.
That's why this gives vendors flexibilty of memory management. This feature
is done with xhci hooks and overrides.
It supports USB offload only for first connected device. It follows normal
sequence from 2nd device.
Changes in v2 :
- Fix commit message by adding Signed-off-by in each patch.
- Fix conflict on latest.
Changes in v3 :
- Remove export symbols and xhci hooks which xhci-exynos don't need.
- Modify commit message to clarify why it needs to export symbols.
- Check compiling of xhci-exynos.
Changes in v4 :
- Modify commit message to clarify why it needs to export symbols.
- Add a function for override of hc driver in xhci-plat.
- Make xhci-exynos extending xhci-plat by xhci hooks and overrides.
(vendor_init / vendor_cleanup hooks are useful from here v4)
- Change the term (USB offload -> xhci-exynos) on subject of patches.
Changes in v5 :
- Rename subject of cover-letter.
- Add code in xhci_alloc_segments_for_uram.
- Add code for supporting several devices.
- Move adding xhci_address_device to other commit.
(usb: host: add some to xhci overrides for xhci-exynos
-> usb: host: export symbols for xhci-exynos to use xhci hooks)
- Add new commit (usb: dwc3: dwc3-exynos: add host init)
Daehwan Jung (6):
usb: host: export symbols for xhci-exynos to use xhci hooks
usb: host: add xhci hooks for xhci-exynos
usb: host: xhci-plat: support override of hc driver
usb: host: add some to xhci overrides for xhci-exynos
usb: host: add xhci-exynos driver
usb: dwc3: dwc3-exynos: add host init
drivers/usb/dwc3/dwc3-exynos.c | 100 ++++-
drivers/usb/host/Kconfig | 8 +
drivers/usb/host/Makefile | 1 +
drivers/usb/host/xhci-exynos.c | 775 +++++++++++++++++++++++++++++++++
drivers/usb/host/xhci-hub.c | 7 +
drivers/usb/host/xhci-mem.c | 150 ++++++-
drivers/usb/host/xhci-plat.c | 50 ++-
drivers/usb/host/xhci-plat.h | 9 +
drivers/usb/host/xhci-ring.c | 1 +
drivers/usb/host/xhci.c | 90 +++-
drivers/usb/host/xhci.h | 57 +++
11 files changed, 1222 insertions(+), 26 deletions(-)
create mode 100644 drivers/usb/host/xhci-exynos.c
--
2.31.1
next parent reply other threads:[~2022-05-06 6:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20220506063316epcas2p197ed75070ed4f4ba29439f5c0def90b4@epcas2p1.samsung.com>
2022-05-06 6:31 ` Daehwan Jung [this message]
2022-05-06 6:31 ` [PATCH v5 1/6] usb: host: export symbols for xhci-exynos to use xhci hooks Daehwan Jung
2022-05-06 6:31 ` [PATCH v5 2/6] usb: host: add xhci hooks for xhci-exynos Daehwan Jung
2022-05-06 6:31 ` [PATCH v5 3/6] usb: host: xhci-plat: support override of hc driver Daehwan Jung
2022-05-06 6:31 ` [PATCH v5 4/6] usb: host: add some to xhci overrides for xhci-exynos Daehwan Jung
2022-05-06 6:31 ` [PATCH RFC v5 5/6] usb: host: add xhci-exynos driver Daehwan Jung
2022-05-06 6:58 ` Krzysztof Kozlowski
2022-05-06 6:31 ` [PATCH RFC v5 6/6] usb: dwc3: dwc3-exynos: add host init Daehwan Jung
2022-05-06 6:45 ` Krzysztof Kozlowski
2022-05-09 11:30 ` Christoph Hellwig
2022-05-06 7:51 ` Arnd Bergmann
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=1651818679-10594-1-git-send-email-dh10.jung@samsung.com \
--to=dh10.jung@samsung.com \
--cc=alim.akhtar@samsung.com \
--cc=arnd@arndb.de \
--cc=balbi@kernel.org \
--cc=eomji.oh@samsung.com \
--cc=gregkh@linuxfoundation.org \
--cc=jgross@suse.com \
--cc=jh0801.jung@samsung.com \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
--cc=mathias.nyman@intel.com \
--cc=mka@chromium.org \
--cc=sc.suh@samsung.com \
--cc=taehyun.cho@samsung.com \
--cc=tony@atomide.com \
/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