Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751719AbdHCNC5 (ORCPT ); Thu, 3 Aug 2017 09:02:57 -0400 Received: from mail-qk0-f173.google.com ([209.85.220.173]:34281 "EHLO mail-qk0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751104AbdHCNC4 (ORCPT ); Thu, 3 Aug 2017 09:02:56 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Guenter Roeck Date: Thu, 3 Aug 2017 06:02:54 -0700 Message-ID: Subject: Re: Some ideas about tcpm driver To: Zain Wang Cc: Guenter Roeck , Yueyao Zhu , "open list:ARM/Rockchip SoC..." , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 32 On Thu, Aug 3, 2017 at 12:28 AM, Zain Wang 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 >