Re: Dual-role behavior with USB-C?

2017-12-13 Thread Peter Chen
On Wed, Dec 13, 2017 at 02:37:14PM +0200, Heikki Krogerus wrote: > Hi guys, > > > > I think the USB-OTG PHY is part of i.MX6UL SoC? > > > > Yes, but it is just USB PHY, not PD PHY. You need external pure CC-logic > > chip (like PTN5150), or Type-C PD chip (like PTN5110) to support CC > > or PD

Re: Dual-role behavior with USB-C?

2017-12-13 Thread Takashi Matsuzawa
Hello. Now I am waiting for my USB-C breakout board to just re-using it for connecting to conventional micr-A/B receptacle. BTW, Looking into schematic, another board HiKey960 with USB-C receptacle seems to have USB-C controller in its circuit. >OK, from those schematics we can clearly see

Re: Dual-role behavior with USB-C?

2017-12-13 Thread Heikki Krogerus
Hi guys, On Wed, Dec 13, 2017 at 10:43:50AM +0800, Peter Chen wrote: > On Wed, Dec 13, 2017 at 01:17:23AM +, Takashi Matsuzawa wrote: > > Hello. > > > > >If you have a Type-C connector on your board, then you also should > > >have a USB Type-C PHY that takes care of CC logic. The

Re: Dual-role behavior with USB-C?

2017-12-12 Thread Peter Chen
On Wed, Dec 13, 2017 at 01:17:23AM +, Takashi Matsuzawa wrote: > Hello. > > >If you have a Type-C connector on your board, then you also should > >have a USB Type-C PHY that takes care of CC logic. The host-to-device > >relationship is determined using the Configuration Channel (CC) that >

Re: Dual-role behavior with USB-C?

2017-12-12 Thread Peter Chen
On Tue, Dec 12, 2017 at 07:01:34AM +, Takashi Matsuzawa wrote: > Hello. > Thank you very much for your comment. > > > Since USB OTG FSM has not been accepted by industry during last ten years, > > we decide > > to give up maintaining OTG FSM at Linux kernel. For role switch use case, > >

Re: Dual-role behavior with USB-C?

2017-12-12 Thread Takashi Matsuzawa
Hello. >If you have a Type-C connector on your board, then you also should >have a USB Type-C PHY that takes care of CC logic. The host-to-device >relationship is determined using the Configuration Channel (CC) that >goes through the USB Type-C cable. Note that CC is not the same as ID! I am

Re: Dual-role behavior with USB-C?

2017-12-12 Thread Heikki Krogerus
Hi Takashi, On Tue, Dec 12, 2017 at 07:01:34AM +, Takashi Matsuzawa wrote: > Hello. > Thank you very much for your comment. > > > Since USB OTG FSM has not been accepted by industry during last ten years, > > we decide > > to give up maintaining OTG FSM at Linux kernel. For role switch use

Re: Dual-role behavior with USB-C?

2017-12-11 Thread Takashi Matsuzawa
Hello. Thank you very much for your comment. > Since USB OTG FSM has not been accepted by industry during last ten years, we > decide > to give up maintaining OTG FSM at Linux kernel. For role switch use case, > please use > /sys/../role instead, see below commit for detail: > > >

RE: Dual-role behavior with USB-C?

2017-12-11 Thread Peter Chen
> > Hello. > > Just in case if you already have pointer or experience with this, any > suggestion is > highly appreciated. > > Some of the recent i.MX boards has USB-C socket for USB-OTG port, and I wonder > how I can try the following steps (Dual-role behavior tes

Dual-role behavior with USB-C?

2017-12-08 Thread Takashi Matsuzawa
Hello. Just in case if you already have pointer or experience with this, any suggestion is highly appreciated. Some of the recent i.MX boards has USB-C socket for USB-OTG port, and I wonder how I can try the following steps (Dual-role behavior testing) with USB-C sockets. https