Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921AbdHDK0U (ORCPT ); Fri, 4 Aug 2017 06:26:20 -0400 Received: from regular1.263xmail.com ([211.150.99.132]:46624 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbdHDK0T (ORCPT ); Fri, 4 Aug 2017 06:26:19 -0400 X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED: 0 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 X-RL-SENDER: wzz@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: wzz@rock-chips.com X-UNIQUE-TAG: X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: Some ideas about tcpm driver To: Guenter Roeck Cc: Guenter Roeck , Yueyao Zhu , "open list:ARM/Rockchip SoC..." , "linux-kernel@vger.kernel.org" References: From: Zain Wang Message-ID: Date: Fri, 4 Aug 2017 18:25:59 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1102 Lines: 38 在 2017/8/3 21:02, Guenter Roeck 写道: > 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 ? 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 >> > >