Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702725 > unrolled thread

Some ideas about tcpm driver

Started byZain Wang <wzz@rock-chips.com>
First post2017-08-03 09:30 +0200
Last post2017-08-04 12:30 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Some ideas about tcpm driver Zain Wang <wzz@rock-chips.com> - 2017-08-03 09:30 +0200
    Re: Some ideas about tcpm driver Guenter Roeck <groeck@google.com> - 2017-08-03 15:10 +0200
      Re: Some ideas about tcpm driver Zain Wang <wzz@rock-chips.com> - 2017-08-04 12:30 +0200

#1702725 — Some ideas about tcpm driver

FromZain Wang <wzz@rock-chips.com>
Date2017-08-03 09:30 +0200
SubjectSome ideas about tcpm driver
Message-ID<uaiJY-56H-17@gated-at.bofh.it>
Hi all,

In recent days, I tested the fusb302 driver with tcpm. (RK3399 evb board)
But I found an issues:
     There is not a regulator for type-c vbus power-supply in my board.
     The vbus is just controlled by a gpio-pin, and unable to support 
other voltage except 5V.
     But now, I can't use fusb302 driver without workaround fix.
     Could you fix it in next version? @Yueyao

The altmode looks not complete. I can't enter DP Alt Mode now.
And we'd like to used extcon function (used in Chrome) to link usb, dp 
and type-c together.
How do you think about it? @Guenter

Thanks
Zain

[toc] | [next] | [standalone]


#1703086

FromGuenter Roeck <groeck@google.com>
Date2017-08-03 15:10 +0200
Message-ID<uao2Z-n3-5@gated-at.bofh.it>
In reply to#1702725
On Thu, Aug 3, 2017 at 12:28 AM, Zain Wang <wzz@rock-chips.com> wrote:
> Hi all,
>
> In recent days, I tested the fusb302 driver with tcpm. (RK3399 evb board)
> But I found an issues:
>     There is not a regulator for type-c vbus power-supply in my board.
>     The vbus is just controlled by a gpio-pin, and unable to support other
> voltage except 5V.

gpio-regulator does not work ?

>     But now, I can't use fusb302 driver without workaround fix.
>     Could you fix it in next version? @Yueyao
>
> The altmode looks not complete. I can't enter DP Alt Mode now.

Yes, I know. Patches welcome.

> And we'd like to used extcon function (used in Chrome) to link usb, dp and
> type-c together.

Plan is to use the extcon driver (from cros-ec) to register with the
type-c infrastructure. I have not thought about how to tie low level
drivers (fusb/tcpm) with extcon. Ideas welcome.

Guenter

> How do you think about it? @Guenter
>
> Thanks
> Zain
>

[toc] | [prev] | [next] | [standalone]


#1703855

FromZain Wang <wzz@rock-chips.com>
Date2017-08-04 12:30 +0200
Message-ID<uaI1H-5Ka-3@gated-at.bofh.it>
In reply to#1703086

在 2017/8/3 21:02, Guenter Roeck 写道:
> On Thu, Aug 3, 2017 at 12:28 AM, Zain Wang <wzz@rock-chips.com> wrote:
>> Hi all,
>>
>> In recent days, I tested the fusb302 driver with tcpm. (RK3399 evb board)
>> But I found an issues:
>>      There is not a regulator for type-c vbus power-supply in my board.
>>      The vbus is just controlled by a gpio-pin, and unable to support other
>> voltage except 5V.
> gpio-regulator does not work ?
Thanks for you idea, it works well with regulator-gpio.

Zain
>
>>      But now, I can't use fusb302 driver without workaround fix.
>>      Could you fix it in next version? @Yueyao
>>
>> The altmode looks not complete. I can't enter DP Alt Mode now.
> Yes, I know. Patches welcome.
>
>> And we'd like to used extcon function (used in Chrome) to link usb, dp and
>> type-c together.
> Plan is to use the extcon driver (from cros-ec) to register with the
> type-c infrastructure. I have not thought about how to tie low level
> drivers (fusb/tcpm) with extcon. Ideas welcome.
>
> Guenter
>
>> How do you think about it? @Guenter
>>
>> Thanks
>> Zain
>>
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web