All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Lifshitz <lifshitz-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
To: balbi-l0cyMroinI0@public.gmane.org
Cc: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>,
	Kishon Vijay Abraham I <kishon-l0cyMroinI0@public.gmane.org>,
	bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org,
	tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	George Cherian <george.cherian-l0cyMroinI0@public.gmane.org>
Subject: Re: [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3
Date: Wed, 10 Sep 2014 15:03:33 +0300	[thread overview]
Message-ID: <54103E15.3090406@compulab.co.il> (raw)
In-Reply-To: <20140908132403.GA22409-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>

Hi,

On 09/08/2014 04:24 PM, Felipe Balbi wrote:
> Hi,
>
> On Mon, Sep 08, 2014 at 02:34:33PM +0300, Dmitry Lifshitz wrote:
>> Hi Felipe, Roger
>>
>> On 04/16/2014 07:16 PM, Felipe Balbi wrote:
>>> On Fri, Oct 11, 2013 at 05:46:12PM +0300, Roger Quadros wrote:
>>>> Hi,
>>>>
>>>> On 10/10/2013 01:49 PM, Kishon Vijay Abraham I wrote:
>>>>> From: George Cherian <george.cherian-l0cyMroinI0@public.gmane.org>
>>>>>
>>>>> Added dr_mode property in dwc3 and set its default mode to device.
>>>>
>>>> If there is a specific reason why this is not set to "otg", we need
>>>> to explain it here.
>>>>
>>>> AFAIK the port is meant to be used as OTG port.
>>>
>>> we still don't have the workaround for dual role ports, I've been
>>> working on it but still need to retest and make sure it's working fine
>>> before merging upstream.
>>>
>>
>>
>> Does the OTG port suppose to work with OMAP5? I mean role switching
>> mechanism?
>>
>> I'm testing kernel v3.16 with OMAP5 based board (CM-T54).
>>
>> If I set CONFIG_USB_DWC3_DUAL_ROLE, than nothing is going on when I plug
>> some device/host cable into micro USB3.0 port (VBUS/ID detection with extcon
>> events works fine).
>
> Dual role does not work. We allow the driver to the built with both Host
> and Peripheral support because some platforms have more than one port
> and building the driver with dual role allows us to make one port host
> and one peripheral.
>

Please, can you provide some detail about platforms with several ports.
How do that ports are connected to DWC3?


Thanks,

Dmitry


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: lifshitz@compulab.co.il (Dmitry Lifshitz)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3
Date: Wed, 10 Sep 2014 15:03:33 +0300	[thread overview]
Message-ID: <54103E15.3090406@compulab.co.il> (raw)
In-Reply-To: <20140908132403.GA22409@saruman.home>

Hi,

On 09/08/2014 04:24 PM, Felipe Balbi wrote:
> Hi,
>
> On Mon, Sep 08, 2014 at 02:34:33PM +0300, Dmitry Lifshitz wrote:
>> Hi Felipe, Roger
>>
>> On 04/16/2014 07:16 PM, Felipe Balbi wrote:
>>> On Fri, Oct 11, 2013 at 05:46:12PM +0300, Roger Quadros wrote:
>>>> Hi,
>>>>
>>>> On 10/10/2013 01:49 PM, Kishon Vijay Abraham I wrote:
>>>>> From: George Cherian <george.cherian@ti.com>
>>>>>
>>>>> Added dr_mode property in dwc3 and set its default mode to device.
>>>>
>>>> If there is a specific reason why this is not set to "otg", we need
>>>> to explain it here.
>>>>
>>>> AFAIK the port is meant to be used as OTG port.
>>>
>>> we still don't have the workaround for dual role ports, I've been
>>> working on it but still need to retest and make sure it's working fine
>>> before merging upstream.
>>>
>>
>>
>> Does the OTG port suppose to work with OMAP5? I mean role switching
>> mechanism?
>>
>> I'm testing kernel v3.16 with OMAP5 based board (CM-T54).
>>
>> If I set CONFIG_USB_DWC3_DUAL_ROLE, than nothing is going on when I plug
>> some device/host cable into micro USB3.0 port (VBUS/ID detection with extcon
>> events works fine).
>
> Dual role does not work. We allow the driver to the built with both Host
> and Peripheral support because some platforms have more than one port
> and building the driver with dual role allows us to make one port host
> and one peripheral.
>

Please, can you provide some detail about platforms with several ports.
How do that ports are connected to DWC3?


Thanks,

Dmitry

WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Lifshitz <lifshitz@compulab.co.il>
To: balbi@ti.com
Cc: Roger Quadros <rogerq@ti.com>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	bcousson@baylibre.com, tony@atomide.com, rob.herring@calxeda.com,
	pawel.moll@arm.com, mark.rutland@arm.com, swarren@wwwdotorg.org,
	ijc+devicetree@hellion.org.uk, linux@arm.linux.org.uk,
	linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	George Cherian <george.cherian@ti.com>
Subject: Re: [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3
Date: Wed, 10 Sep 2014 15:03:33 +0300	[thread overview]
Message-ID: <54103E15.3090406@compulab.co.il> (raw)
In-Reply-To: <20140908132403.GA22409@saruman.home>

Hi,

On 09/08/2014 04:24 PM, Felipe Balbi wrote:
> Hi,
>
> On Mon, Sep 08, 2014 at 02:34:33PM +0300, Dmitry Lifshitz wrote:
>> Hi Felipe, Roger
>>
>> On 04/16/2014 07:16 PM, Felipe Balbi wrote:
>>> On Fri, Oct 11, 2013 at 05:46:12PM +0300, Roger Quadros wrote:
>>>> Hi,
>>>>
>>>> On 10/10/2013 01:49 PM, Kishon Vijay Abraham I wrote:
>>>>> From: George Cherian <george.cherian@ti.com>
>>>>>
>>>>> Added dr_mode property in dwc3 and set its default mode to device.
>>>>
>>>> If there is a specific reason why this is not set to "otg", we need
>>>> to explain it here.
>>>>
>>>> AFAIK the port is meant to be used as OTG port.
>>>
>>> we still don't have the workaround for dual role ports, I've been
>>> working on it but still need to retest and make sure it's working fine
>>> before merging upstream.
>>>
>>
>>
>> Does the OTG port suppose to work with OMAP5? I mean role switching
>> mechanism?
>>
>> I'm testing kernel v3.16 with OMAP5 based board (CM-T54).
>>
>> If I set CONFIG_USB_DWC3_DUAL_ROLE, than nothing is going on when I plug
>> some device/host cable into micro USB3.0 port (VBUS/ID detection with extcon
>> events works fine).
>
> Dual role does not work. We allow the driver to the built with both Host
> and Peripheral support because some platforms have more than one port
> and building the driver with dual role allows us to make one port host
> and one peripheral.
>

Please, can you provide some detail about platforms with several ports.
How do that ports are connected to DWC3?


Thanks,

Dmitry



  parent reply	other threads:[~2014-09-10 12:03 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10 10:49 [PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1 Kishon Vijay Abraham I
2013-10-10 10:49 ` Kishon Vijay Abraham I
2013-10-10 10:49 ` Kishon Vijay Abraham I
     [not found] ` <1381402195-29257-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2013-10-10 10:49   ` [PATCH 2/2] ARM: dts: omap5: Add dr_mode for dwc3 Kishon Vijay Abraham I
2013-10-10 10:49     ` Kishon Vijay Abraham I
2013-10-10 10:49     ` Kishon Vijay Abraham I
2013-10-11 14:46     ` Roger Quadros
2013-10-11 14:46       ` Roger Quadros
2013-10-11 14:46       ` Roger Quadros
2013-10-15  5:49       ` [PATCH v2 " Kishon Vijay Abraham I
2013-10-15  5:49         ` Kishon Vijay Abraham I
2013-10-15  5:49         ` Kishon Vijay Abraham I
2013-10-16 13:17         ` Kishon Vijay Abraham I
2013-10-16 13:17           ` Kishon Vijay Abraham I
2013-10-16 13:17           ` Kishon Vijay Abraham I
2013-10-17 20:08           ` Benoit Cousson
2013-10-17 20:08             ` Benoit Cousson
     [not found]             ` <526043BA.5040100-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2013-10-21 10:03               ` Kishon Vijay Abraham I
2013-10-21 10:03                 ` Kishon Vijay Abraham I
2013-10-21 10:03                 ` Kishon Vijay Abraham I
2014-04-16 16:16       ` [PATCH " Felipe Balbi
2014-04-16 16:16         ` Felipe Balbi
2014-04-16 16:16         ` Felipe Balbi
2014-04-16 16:22         ` Felipe Balbi
2014-04-16 16:22           ` Felipe Balbi
2014-04-16 16:22           ` Felipe Balbi
2014-09-08 11:34         ` Dmitry Lifshitz
2014-09-08 11:34           ` Dmitry Lifshitz
     [not found]           ` <540D9449.3090008-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2014-09-08 11:39             ` Roger Quadros
2014-09-08 11:39               ` Roger Quadros
2014-09-08 11:39               ` Roger Quadros
2014-09-08 12:32               ` Dmitry Lifshitz
2014-09-08 12:32                 ` Dmitry Lifshitz
     [not found]                 ` <540DA1E5.1060701-UTxiZqZC01RS1MOuV/RT9w@public.gmane.org>
2014-09-08 13:25                   ` Felipe Balbi
2014-09-08 13:25                     ` Felipe Balbi
2014-09-08 13:25                     ` Felipe Balbi
2014-09-08 13:24           ` Felipe Balbi
2014-09-08 13:24             ` Felipe Balbi
2014-09-08 13:24             ` Felipe Balbi
     [not found]             ` <20140908132403.GA22409-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-09-10 12:03               ` Dmitry Lifshitz [this message]
2014-09-10 12:03                 ` Dmitry Lifshitz
2014-09-10 12:03                 ` Dmitry Lifshitz
2014-09-11 17:14                 ` Felipe Balbi
2014-09-11 17:14                   ` Felipe Balbi
2014-09-11 17:14                   ` Felipe Balbi
2013-10-10 14:19 ` [PATCH 1/2] ARM: dts: omap5-uevm: remove always_on, boot_on from smps10_out1 Nishanth Menon
2013-10-10 14:19   ` Nishanth Menon
2013-10-10 14:19   ` Nishanth Menon
2013-10-11  6:13   ` Kishon Vijay Abraham I
2013-10-11  6:13     ` Kishon Vijay Abraham I
2013-10-11  6:13     ` Kishon Vijay Abraham I
2013-10-11  6:30     ` Nishanth Menon
2013-10-11  6:30       ` Nishanth Menon
2013-10-11  6:53       ` Kishon Vijay Abraham I
2013-10-11  6:53         ` Kishon Vijay Abraham I
2013-10-11  6:54         ` Kishon Vijay Abraham I
2013-10-11  6:54           ` Kishon Vijay Abraham I
     [not found]           ` <5257A0C0.8000701-l0cyMroinI0@public.gmane.org>
2013-10-11  7:27             ` Nishanth Menon
2013-10-11  7:27               ` Nishanth Menon
2013-10-11  7:27               ` Nishanth Menon
2013-10-16 13:17 ` Kishon Vijay Abraham I
2013-10-16 13:17   ` Kishon Vijay Abraham I
2013-10-16 13:17   ` Kishon Vijay Abraham I
     [not found]   ` <525E9206.9010501-l0cyMroinI0@public.gmane.org>
2013-10-16 13:27     ` Nishanth Menon
2013-10-16 13:27       ` Nishanth Menon
2013-10-16 13:27       ` Nishanth Menon
     [not found]       ` <525E9434.1090006-l0cyMroinI0@public.gmane.org>
2013-10-17 20:09         ` Benoit Cousson
2013-10-17 20:09           ` Benoit Cousson
2013-10-17 20:09           ` Benoit Cousson
2013-10-21 10:03           ` Kishon Vijay Abraham I
2013-10-21 10:03             ` Kishon Vijay Abraham I
2013-10-21 10:03             ` Kishon Vijay Abraham I

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=54103E15.3090406@compulab.co.il \
    --to=lifshitz-utxizqzc01rs1mouv/rt9w@public.gmane.org \
    --cc=balbi-l0cyMroinI0@public.gmane.org \
    --cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=george.cherian-l0cyMroinI0@public.gmane.org \
    --cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
    --cc=kishon-l0cyMroinI0@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=rogerq-l0cyMroinI0@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.