public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Dietrich <marvin24-Mmb7MZpHnFY@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Dmitry Osipenko <digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	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>,
	Nicolas Chauvet <kwizart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v1 8/9] ARM: tegra: Enable UDC on AC100
Date: Thu, 06 Jul 2017 23:23:47 +0200	[thread overview]
Message-ID: <1803887.4ILkMQVocE@fb07-iapwap2> (raw)
In-Reply-To: <33990cfa-f2f8-48ba-240b-ad088ba50bb5-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2074 bytes --]

Am Donnerstag, 6. Juli 2017, 20:00:02 CEST schrieb Stephen Warren:
> On 07/06/2017 10:57 AM, Dmitry Osipenko wrote:
> > On 06.07.2017 19:38, Stephen Warren wrote:
> >> On 07/05/2017 11:19 AM, Dmitry Osipenko wrote:
> >>> Override the compatible string of the first USB controller to enable
> >>> device mode.
> >>> 
> >>> diff --git a/arch/arm/boot/dts/tegra20-paz00.dts
> >>> b/arch/arm/boot/dts/tegra20-paz00.dts
> >>> 
> >>>        usb@c5000000 {
> >>> 
> >>> +        compatible = "nvidia,tegra20-udc";
> >>> 
> >>>            status = "okay";
> >>> 
> >>> +        dr_mode = "otg";
> >>> 
> >>>        };
> >> 
> >> This port is the only external USB port on the AC100.
> > 
> > Seems that's not true. http://elinux.org/Tegra/Boards/Toshiba_AC100 claims
> > that there are host and micro USB ports.
> 
> You're right; I was getting this board confused with the Springbank
> variety of Seaboard, and when I looked at the mini USB port on the AC100
> I thought it was something else.

Sorry, for the late reply, I'm on vacation.
 
> Given the physical connector on this USB port on the AC100, it's
> probably fine to convert it to device-mode only since I don't expect
> anyone has a USB OTG cable that has a mini size connector on the host end.
> 
> It looks like this port is only enabled because the very first version
> of tegra-paz00.dts didn't explicitly disable the port, and when
> tegra20.dtsi was updated to disable all USB ports by default,
> tegra-paz00.dtsi was updated to enable the port so that the DT change
> didn't affect behaviour, which then left the port enabled explicitly
> albeit without much reason.

I think someone used it in the past in host mode and it was working, but I 
think everyone will be happy to have it operating as client only (as original 
intended), especially because we already have an external (and also an 
internal) usb port.

> So, once the dr_mode is fixed in this change, it's:
> Acked-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Tested-by: Marc Dietrich <marvin24-Mmb7MZpHnFY@public.gmane.org>

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2017-07-06 21:23 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 17:19 [PATCH v1 0/9] Support UDC on Tegra 20/30/114/124 Dmitry Osipenko
     [not found] ` <cover.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-05 17:19   ` [PATCH v1 1/9] usb: gadget: f_ecm/f_eem/f_rndis: Setup quirk_avoids_skb_reserve Dmitry Osipenko
     [not found]     ` <a2f60b1ee32dba0adb7dfaaab7b1ee4d67699107.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06  1:12       ` Peter Chen
2017-07-06 10:13         ` Dmitry Osipenko
2017-07-05 17:19   ` [PATCH v1 2/9] usb: chipidea: udc: Support SKB alignment quirk Dmitry Osipenko
     [not found]     ` <719de7513f42948f5f75742c31f4cc09582411fd.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06  1:13       ` Peter Chen
2017-07-05 17:19   ` [PATCH v1 3/9] usb: chipidea: Add support for Tegra20/30/114/124 Dmitry Osipenko
     [not found]     ` <9e0127ea9b580e1af334c4c3bcb8b3c0705614ea.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06  1:23       ` Peter Chen
2017-07-06 10:09         ` Dmitry Osipenko
     [not found]           ` <59e943b8-8771-0b1e-36fa-babd5e52a6d5-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-07  1:10             ` Peter Chen
2017-07-07  8:28               ` Dmitry Osipenko
2017-07-05 17:19   ` [PATCH v1 4/9] ARM: tegra: Enable UDC on TrimSlice Dmitry Osipenko
     [not found]     ` <82321d32d968c6b9481a77fbecae8c0756d37f0f.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06  1:24       ` Peter Chen
2017-07-06 10:24         ` Dmitry Osipenko
     [not found]           ` <d23f841a-f46d-bf3f-cdb6-9d9c033e80bd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 10:43             ` Dmitry Osipenko
2017-07-06 12:51             ` Marcel Ziswiler
     [not found]               ` <1499345493.4445.12.camel-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2017-07-06 16:15                 ` Dmitry Osipenko
2017-07-06 16:46         ` Stephen Warren
     [not found]           ` <7717016d-6da4-6933-a36e-4a6bf45646ab-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-06 17:16             ` Dmitry Osipenko
     [not found]               ` <8c56c8e4-0c61-9400-5f52-0e6c00b51310-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 18:03                 ` Stephen Warren
     [not found]                   ` <52a9941a-59a5-5b49-be67-3b4991497395-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-06 19:14                     ` Dmitry Osipenko
2017-07-06 16:35       ` Stephen Warren
2017-07-05 17:19   ` [PATCH v1 5/9] ARM: tegra: Enable UDC on Beaver Dmitry Osipenko
     [not found]     ` <39b0632e80a95ec0208e3ed867033ec8de898624.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 16:43       ` Stephen Warren
     [not found]         ` <1d7ffa85-edae-fb1a-d013-cd44d11e1536-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-06 16:52           ` Dmitry Osipenko
2017-07-05 17:19   ` [PATCH v1 6/9] ARM: tegra: Enable UDC on Dalmore Dmitry Osipenko
     [not found]     ` <6756bf3afa16e414c924ec1b4b2608731a9ebcea.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 16:42       ` Stephen Warren
2017-07-05 17:19   ` [PATCH v1 7/9] ARM: tegra: Enable UDC on Jetson TK1 Dmitry Osipenko
     [not found]     ` <c6b78a8d149eb9341f41a6b1181569c4b78df1af.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 16:44       ` Stephen Warren
2017-07-05 17:19   ` [PATCH v1 8/9] ARM: tegra: Enable UDC on AC100 Dmitry Osipenko
     [not found]     ` <a0923f46a14c27afd7d2595dfb8878c2ebf02230.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 16:38       ` Stephen Warren
     [not found]         ` <402c57db-a01b-33eb-28d4-7f4b372351f2-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-06 16:57           ` Dmitry Osipenko
     [not found]             ` <32f880f8-a49c-8f29-fe26-f50cae31e215-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 18:00               ` Stephen Warren
     [not found]                 ` <33990cfa-f2f8-48ba-240b-ad088ba50bb5-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-06 21:23                   ` Marc Dietrich [this message]
2017-07-07  8:27                     ` Dmitry Osipenko
2017-07-05 17:19   ` [PATCH v1 9/9] ARM: defconfig: tegra: Enable ChipIdea UDC driver Dmitry Osipenko
     [not found]     ` <5eac9306f4049ba51ed8b7f53820d28f294725cb.1499273075.git.digetx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-05 20:33       ` Stephen Warren
     [not found]         ` <3fe1b3b2-6473-399a-807e-f007a10c05cd-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-05 22:57           ` Dmitry Osipenko
2017-07-05 20:31   ` [PATCH v1 0/9] Support UDC on Tegra 20/30/114/124 Stephen Warren
     [not found]     ` <b5c54655-ccf4-2d4e-59fe-4a9e4609605a-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-05 22:13       ` Dmitry Osipenko
     [not found]         ` <c8d9740a-7792-87d9-9466-8d3a45280403-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-05 22:54           ` Stephen Warren
     [not found]             ` <63e87e5c-5331-2680-7686-5ed22718a2bd-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2017-07-05 23:20               ` Dmitry Osipenko
     [not found]                 ` <94e2532d-d342-3062-ec7a-6dfd865c1b62-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-07-06 12:03                   ` Thierry Reding
     [not found]                     ` <20170706120328.GB1229-m5CkvRiFyV9wFLYp8hBm2A@public.gmane.org>
2017-07-06 13:04                       ` Marcel Ziswiler
     [not found]                         ` <1499346277.4445.15.camel-2KBjVHiyJgBBDgjK7y7TUQ@public.gmane.org>
2017-07-06 15:11                           ` Thierry Reding
     [not found]                             ` <20170706151118.GA3736-m5CkvRiFyV9wFLYp8hBm2A@public.gmane.org>
2017-07-06 15:52                               ` Dmitry Osipenko
2017-07-07  1:12           ` Peter Chen
2017-07-07  8:49             ` 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=1803887.4ILkMQVocE@fb07-iapwap2 \
    --to=marvin24-mmb7mzphnfy@public.gmane.org \
    --cc=Peter.Chen-3arQi8VN3Tc@public.gmane.org \
    --cc=balbi-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=digetx-Re5JQEeQqe8AvxtiuMwx3w@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=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