From: Nagarjuna Kristam <nkristam@nvidia.com>
To: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: balbi@kernel.org, gregkh@linuxfoundation.org,
thierry.reding@gmail.com, jonathanh@nvidia.com,
mark.rutland@arm.com, robh+dt@kernel.org, kishon@ti.com,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [Patch V8 7/8] usb: gadget: Add UDC driver for tegra XUSB device mode controller
Date: Fri, 6 Sep 2019 16:01:53 +0530 [thread overview]
Message-ID: <7f24dbd0-e556-20c1-7aeb-5ddbdbe0349c@nvidia.com> (raw)
In-Reply-To: <1567734192.7317.68.camel@mhfsdcap03>
On 06-09-2019 07:13, Chunfeng Yun wrote:
> On Thu, 2019-09-05 at 09:57 +0530, Nagarjuna Kristam wrote:
>>
>> On 04-09-2019 16:00, Chunfeng Yun wrote:
>>> On Wed, 2019-09-04 at 13:53 +0530, Nagarjuna Kristam wrote:
>>>> This patch adds UDC driver for tegra XUSB 3.0 device mode controller.
>>>> XUSB device mode controller supports SS, HS and FS modes
>>>>
>>>> Based on work by:
>>>> Mark Kuo <mkuo@nvidia.com>
>>>> Hui Fu <hfu@nvidia.com>
>>>> Andrew Bresticker <abrestic@chromium.org>
>>>>
>>>> Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
>>>> Acked-by: Thierry Reding <treding@nvidia.com>
>>>> ---
>>>> drivers/usb/gadget/udc/Kconfig | 12 +
>>>> drivers/usb/gadget/udc/Makefile | 1 +
>>>> drivers/usb/gadget/udc/tegra-xudc.c | 3791 +++++++++++++++++++++++++++++++++++
>>>> 3 files changed, 3804 insertions(+)
>>>> create mode 100644 drivers/usb/gadget/udc/tegra-xudc.c
>>>>
>>>> diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig
>>>> index d354036..0fe7577 100644
>>>> --- a/drivers/usb/gadget/udc/Kconfig
>>>> +++ b/drivers/usb/gadget/udc/Kconfig
>>>> @@ -441,6 +441,18 @@ config USB_GADGET_XILINX
>>>> dynamically linked module called "udc-xilinx" and force all
>>>> gadget drivers to also be dynamically linked.
>>>>
>>>> +config USB_TEGRA_XUDC
>>>> + tristate "NVIDIA Tegra Superspeed USB 3.0 Device Controller"
>>>> + depends on ARCH_TEGRA || COMPILE_TEST
>>>> + depends on PHY_TEGRA_XUSB
>>>> + select USB_CONN_GPIO
>>> To me, needn't select this driver, without it, the driver still build
>>> pass
>>>
>> Yes compilation passes with out this. Added select for getting USB_CONN_GPIO
>> driver functionality.
> We can enable it in defconfig, think about one day use type-c to do
> dual-role switch, or other ways, will needn't select it then.
>
Thanks for details, will get it enabled via defconfig instead.
- Nagarjuna
>>
>>>> + help
>>>> + Enables NVIDIA Tegra USB 3.0 device mode controller driver.
>>>> +
>>>> + Say "y" to link the driver statically, or "m" to build a
>>>> + dynamically linked module called "tegra_xudc" and force all
>>>> + gadget drivers to also be dynamically linked.
>>>> +
>>>> source "drivers/usb/gadget/udc/aspeed-vhub/Kconfig"
>>>>
>
>
next prev parent reply other threads:[~2019-09-06 10:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-04 8:23 [Patch V8 0/8] Tegra XUSB gadget driver support Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 1/8] phy: tegra: xusb: Add XUSB dual mode support on Tegra210 Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 2/8] phy: tegra: xusb: Add usb3 port fake " Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 3/8] phy: tegra: xusb: Add vbus override " Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 4/8] dt-bindings: usb: Add NVIDIA Tegra XUSB device mode controller binding Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 5/8] arm64: tegra: Add xudc node for Tegra210 Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 6/8] arm64: tegra: Enable xudc on Jetson TX1 Nagarjuna Kristam
2019-09-04 9:47 ` Chunfeng Yun
2019-09-05 4:32 ` Nagarjuna Kristam
2019-09-04 8:23 ` [Patch V8 7/8] usb: gadget: Add UDC driver for tegra XUSB device mode controller Nagarjuna Kristam
2019-09-04 10:30 ` Chunfeng Yun
2019-09-05 4:27 ` Nagarjuna Kristam
2019-09-06 1:43 ` Chunfeng Yun
2019-09-06 10:31 ` Nagarjuna Kristam [this message]
2019-09-04 8:24 ` [Patch V8 8/8] arm64: defconfig: Enable tegra XUDC driver Nagarjuna Kristam
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=7f24dbd0-e556-20c1-7aeb-5ddbdbe0349c@nvidia.com \
--to=nkristam@nvidia.com \
--cc=balbi@kernel.org \
--cc=chunfeng.yun@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jonathanh@nvidia.com \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=thierry.reding@gmail.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