From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751793AbcFUU3s (ORCPT ); Tue, 21 Jun 2016 16:29:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:33990 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751099AbcFUU3p (ORCPT ); Tue, 21 Jun 2016 16:29:45 -0400 Message-ID: <1466540705.2014.11.camel@suse.com> Subject: Re: [PATCHv3 1/2] usb: USB Type-C connector class From: Oliver Neukum To: Heikki Krogerus Cc: Greg KH , Guenter Roeck , Felipe Balbi , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Tue, 21 Jun 2016 22:25:05 +0200 In-Reply-To: <1466520711-125758-2-git-send-email-heikki.krogerus@linux.intel.com> References: <1466520711-125758-1-git-send-email-heikki.krogerus@linux.intel.com> <1466520711-125758-2-git-send-email-heikki.krogerus@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2016-06-21 at 17:51 +0300, Heikki Krogerus wrote: > +What: /sys/class/typec//supported_data_roles > +Data: June 2016 > +Contact: Heikki Krogerus > +Description: > + Lists the USB data roles, host or device, the port is > capable > + of supporting. On third thought, this is a problem. Looking at 4.4.8.1 DEVICE_CAPABILITIES (Required) of USB Type-C Port Controller Interface Specification we lack capability. A port that can do DRP is not the same thing as a port that can be switched between DFP and UFP. We cannot express that. Regards Oliver