From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753467AbdCFKW5 (ORCPT ); Mon, 6 Mar 2017 05:22:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:44815 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753314AbdCFKWq (ORCPT ); Mon, 6 Mar 2017 05:22:46 -0500 Message-ID: <1488793049.2209.4.camel@suse.com> Subject: Re: [PATCH v17 2/3] usb: USB Type-C connector class From: Oliver Neukum To: Mats Karrman , Heikki Krogerus , Guenter Roeck Cc: Felipe Balbi , Greg KH , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Mon, 06 Mar 2017 10:37:29 +0100 In-Reply-To: <6ddb2eac-03d5-127e-df1e-ad189968e6b2@gmail.com> References: <20170221142405.76299-1-heikki.krogerus@linux.intel.com> <20170221142405.76299-3-heikki.krogerus@linux.intel.com> <4b4bbffc-db02-3b54-04bc-e7de79b2d9ed@roeck-us.net> <07618170-d561-e7fe-08e0-91316c53d832@gmail.com> <20170303125940.GA6999@kuha.fi.intel.com> <6ddb2eac-03d5-127e-df1e-ad189968e6b2@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 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 Am Freitag, den 03.03.2017, 20:27 +0100 schrieb Mats Karrman: > On 2017-03-03 13:59, Heikki Krogerus wrote: > > > > > On Fri, Mar 03, 2017 at 08:29:18AM +0100, Mats Karrman wrote: > > .... > > > > > How would something like that sound to you guys? > > Complicated... Need to marinate on that for a while ;) The thing is that a type C plug has operations that affect every device on it and need to be synchronized. Reset and power requirements would be the obvious examples. It seems to me that the natural way to represent this is a bus. Like SCSI where you have a bus reset operation. Regards Oliver