From: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Thierry Reding
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Felipe Balbi <balbi-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
Peter Chen <Peter.Chen-3arQi8VN3Tc@public.gmane.org>,
Jonathan Hunter
<jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: "Marc Dietrich" <marvin24-Mmb7MZpHnFY@public.gmane.org>,
"Nicolas Chauvet"
<kwizart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Michał Mirosław"
<mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org>,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH v5 0/8] Support UDC on Tegra 20/30/114/124
Date: Wed, 9 Aug 2017 15:19:26 +0300 [thread overview]
Message-ID: <cover.1502280694.git.digetx@gmail.com> (raw)
Some time ago Thierry Reding sent out patches that enabled UDC on NVIDIA
Tegra, unfortunately they haven't got enough traction to get into the
kernel. I've rebased those patches and added a fix for the Ethernet USB
Gadget on Tegra20, Marc Dietrich tested UDC driver on AC100 (Tegra20),
Nicolas Chauvet on TK1 (Tegra124) and Michał Mirosław on TF300T (Tegra30).
Like an original patchset, this series adds support for the peripheral
mode only.
Changelog:
V5:
1) Move of_device_get_match_data() above clock enabling to not leave clock
enabled in case of error. The SoC data matching function shouldn't ever
fail, but let's assume that it could for consistency.
V4:
1) Use of_device_get_match_data() instead of of_match_node() to cleanup
code a tad.
V3:
1) Specified platform flags directly in the SoC info as per Michał's
suggestion.
V2:
1) Added comments to each of patched USB Ethernet gadget models.
2) Added explanatory comment about why usb_phy_set_suspend() invocation
is necessary in tegra_udc_probe().
3) Dropped TrimSlice from patchset because it turned out that it uses USB1
controller for USB-to-SATA.
4) Moved tegra_defconfig patch before DT patches as per Stephen's suggestion.
5) Changed dr_mode to "peripheral" in DT patches since we don't support role
mode switching for now.
Dmitry Osipenko (4):
usb: gadget: f_ecm/f_eem/f_rndis: Setup quirk_avoids_skb_reserve
usb: chipidea: udc: Support SKB alignment quirk
ARM: defconfig: tegra: Enable ChipIdea UDC driver
ARM: tegra: Enable UDC on AC100
Thierry Reding (4):
usb: chipidea: Add support for Tegra20/30/114/124
ARM: tegra: Enable UDC on Beaver
ARM: tegra: Enable UDC on Dalmore
ARM: tegra: Enable UDC on Jetson TK1
arch/arm/boot/dts/tegra114-dalmore.dts | 10 ++
arch/arm/boot/dts/tegra124-jetson-tk1.dts | 12 ++-
arch/arm/boot/dts/tegra20-paz00.dts | 2 +
arch/arm/boot/dts/tegra30-beaver.dts | 10 ++
arch/arm/configs/tegra_defconfig | 10 +-
drivers/usb/chipidea/Makefile | 1 +
drivers/usb/chipidea/ci_hdrc_tegra.c | 155 ++++++++++++++++++++++++++++++
drivers/usb/chipidea/udc.c | 3 +
drivers/usb/gadget/function/f_ecm.c | 7 ++
drivers/usb/gadget/function/f_eem.c | 5 +
drivers/usb/gadget/function/f_rndis.c | 4 +
include/linux/usb/chipidea.h | 1 +
12 files changed, 214 insertions(+), 6 deletions(-)
create mode 100644 drivers/usb/chipidea/ci_hdrc_tegra.c
--
2.13.3
next reply other threads:[~2017-08-09 12:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-09 12:19 Dmitry Osipenko [this message]
[not found] ` <cover.1502280694.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-09 12:19 ` [PATCH v5 1/8] usb: gadget: f_ecm/f_eem/f_rndis: Setup quirk_avoids_skb_reserve Dmitry Osipenko
[not found] ` <4c7b3a3b23b44f4115de1745c65d719a3f70c4db.1502280695.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-15 9:49 ` Felipe Balbi
[not found] ` <87k2256tz0.fsf-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-08-15 15:45 ` Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 2/8] usb: chipidea: udc: Support SKB alignment quirk Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 3/8] usb: chipidea: Add support for Tegra20/30/114/124 Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 4/8] ARM: defconfig: tegra: Enable ChipIdea UDC driver Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 5/8] ARM: tegra: Enable UDC on Beaver Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 6/8] ARM: tegra: Enable UDC on Dalmore Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 7/8] ARM: tegra: Enable UDC on Jetson TK1 Dmitry Osipenko
2017-08-09 12:19 ` [PATCH v5 8/8] ARM: tegra: Enable UDC on AC100 Dmitry Osipenko
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=cover.1502280694.git.digetx@gmail.com \
--to=digetx-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=Peter.Chen-3arQi8VN3Tc@public.gmane.org \
--cc=balbi-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=kwizart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=marvin24-Mmb7MZpHnFY@public.gmane.org \
--cc=mirq-linux-CoA6ZxLDdyEEUmgCuDUIdw@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).