From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752031AbcFFNfk (ORCPT ); Mon, 6 Jun 2016 09:35:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:58611 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767AbcFFNfi (ORCPT ); Mon, 6 Jun 2016 09:35:38 -0400 Message-ID: <1465220135.27057.3.camel@suse.com> Subject: Re: [RFC PATCHv2] usb: USB Type-C Connector Class From: Oliver Neukum To: Heikki Krogerus Cc: Guenter Roeck , Andy Shevchenko , Rajaram R , Felipe Balbi , Mathias Nyman , Greg KH , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Mon, 06 Jun 2016 15:35:35 +0200 In-Reply-To: <20160606132808.GA11617@kuha.fi.intel.com> References: <1463661894-22820-1-git-send-email-heikki.krogerus@linux.intel.com> <1464773169.4051.8.camel@suse.com> <20160601232926.GA8463@roeck-us.net> <20160602101853.GC25305@kuha.fi.intel.com> <20160602161219.GA24772@roeck-us.net> <20160603132140.GB6305@kuha.fi.intel.com> <57518B7A.1030508@roeck-us.net> <20160603151746.GC6305@kuha.fi.intel.com> <20160603183927.GA12659@roeck-us.net> <20160606132808.GA11617@kuha.fi.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 Mon, 2016-06-06 at 16:28 +0300, Heikki Krogerus wrote: > I would prefer lower case letters. I don't know the SIDs there are at > them moment, other then Display Port. Do you know them? > > I don't think we can ever guarantee that in every case we will be able > to provide a human readable name for the alternate modes if they are > vendor defined. We will then potentially still have the names in two > different forms: "usbc0.displayport" and "usbc0.svid:xxxx". Is that > something acceptable to everybody? > > I guess if it's not, then to only way to go forward would be to always > just use the svid in the name. Yes, that is better. It makes more sense to use the number. We'd get into versioning problems if we use names. Regards Oliver