Re: Some ideas about tcpm driver

From: Zain Wang
Date: Fri Aug 04 2017 - 06:26:25 EST

å 2017/8/3 21:02, Guenter Roeck åé:
On Thu, Aug 3, 2017 at 12:28 AM, Zain Wang <wzz@xxxxxxxxxxxxxx> 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.


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.


How do you think about it? @Guenter