From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751978AbcBKOvi (ORCPT ); Thu, 11 Feb 2016 09:51:38 -0500 Received: from mga09.intel.com ([134.134.136.24]:50759 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbcBKOvg (ORCPT ); Thu, 11 Feb 2016 09:51:36 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,431,1449561600"; d="scan'208";a="910044096" Date: Thu, 11 Feb 2016 16:51:32 +0200 From: Heikki Krogerus To: Oliver Neukum Cc: Felipe Balbi , Mathias Nyman , Greg KH , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 1/3] usb: USB Type-C Connector Class Message-ID: <20160211145132.GF32213@kuha.fi.intel.com> References: <1455037283-106479-1-git-send-email-heikki.krogerus@linux.intel.com> <1455037283-106479-2-git-send-email-heikki.krogerus@linux.intel.com> <1455101342.8878.5.camel@suse.com> <8737szsk23.fsf@ti.com> <1455181694.3972.3.camel@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455181694.3972.3.camel@suse.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 11, 2016 at 10:08:14AM +0100, Oliver Neukum wrote: > I would think that user space should be able to preselect > that we always want to be upstream or downstream or flexible. Agreed. > And it should be able to preemptively disallow power delivery > even if no cable is present. By power delivery you mean power sourcing, not USB PD, right? So basically being able to preselect also power_role? That is OK by me, but we need to remember that it's something that is only possible when both our connector and also the partner support USB PD. Otherwise the power role will be based on the data role. So when USB PD is not supported, host is always the source and the device always the sink. Thanks, -- heikki