Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161188AbdDUNOd (ORCPT ); Fri, 21 Apr 2017 09:14:33 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:49704 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161149AbdDUNO3 (ORCPT ); Fri, 21 Apr 2017 09:14:29 -0400 Subject: Re: [PATCH v17 2/3] usb: USB Type-C connector class To: Heikki Krogerus , Badhri Jagan Sridharan References: <20170308135853.GH6999@kuha.fi.intel.com> <68817c44-d880-581a-e9f5-12845b9215eb@gmail.com> <20170419112323.GD24062@kuha.fi.intel.com> <20170419151401.GA14036@roeck-us.net> <20170420122417.GB4769@kuha.fi.intel.com> <20170421121221.GD4769@kuha.fi.intel.com> Cc: Oliver Neukum , Mats Karrman , Greg KH , Felipe Balbi , LKML , USB From: Guenter Roeck Message-ID: Date: Fri, 21 Apr 2017 06:14:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170421121221.GD4769@kuha.fi.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1007 Lines: 29 On 04/21/2017 05:12 AM, Heikki Krogerus wrote: > Hi, > > On Thu, Apr 20, 2017 at 12:46:59PM -0700, Badhri Jagan Sridharan wrote: >> Thanks for the responses :) >> >> So seems like we have a plan. >> >> In Type-C connector class the checks for TYPEC_PWR_MODE_PD >> and pd_revision for both the port and the partner will be removed in >> power_role_store and the data_role_store and will be delegated >> to the low level drivers. >> >> TCPM code will issue hard reset in tcpm_dr_set and tcpm_pr_set if >> current_role is not same as the preferred_role. >> >> I am going to make changes in my local kernel code base to start >> making the corresponding changes in userspace. >> Should I post-back the local kernel changes or Heikki and Geunter >> you are planning to upload them ? > > Please send a patch for the class at least. I think the changes to the > tcpm can just be amended still at this point. That is of course up to > Guenter. > I'll try to make the changes and post a new version today. Guenter