From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757956AbcEFGwL (ORCPT ); Fri, 6 May 2016 02:52:11 -0400 Received: from mga14.intel.com ([192.55.52.115]:38144 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751171AbcEFGwJ (ORCPT ); Fri, 6 May 2016 02:52:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,586,1455004800"; d="asc'?scan'208";a="969902846" From: Felipe Balbi To: Guenter Roeck , Heikki Krogerus Cc: Greg KH , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Mathias Nyman Subject: Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI In-Reply-To: <20160505030544.GA25632@roeck-us.net> References: <1455037283-106479-1-git-send-email-heikki.krogerus@linux.intel.com> <20160505030544.GA25632@roeck-us.net> User-Agent: Notmuch/0.21+96~g9bbc54b (http://notmuchmail.org) Emacs/25.0.90.3 (x86_64-pc-linux-gnu) Date: Fri, 06 May 2016 09:50:00 +0300 Message-ID: <87h9ebistj.fsf@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Guenter, Guenter Roeck writes: > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: >> Hi, >>=20 >> The OS, or more precisely the user space, needs to be able to control >> a few things regarding USB Type-C ports. The first thing that must be >> allowed to be controlled is the data role. USB Type-C ports will >> select the data role randomly with DRP ports. When USB PD is >> supported, also independent (from data role) power role swapping can >> be supported together with Alternate Mode control. >>=20 >> I'm proposing with this set a Class for the Type-C connectors that >> gives the user space control over those things on top of getting basic >> details about the USB Type-C connectors and also partners. The details >> include the capabilities of the port, the supported data and power >> roles, supported accessories (audio and debug), supported Alternate >> Modes, USB PD support and of course the type of the partner (USB, Alt >> Mode, Accessory or Charger), and more or less the same details about >> the partner. >>=20 >> I'm not considering cables with this Class, and I have deliberately >> left out some more technical details, like cable orientation, firstly >> because I did not see much use for the user space from knowing that >> an secondly because that kind of details are not always available for >> example with UCSI. >>=20 >> So the interface to the user space is kept as simple as I dared to >> make it. >>=20 >> NOTE: In case there is somebody wondering, this is not adding USB PD >> support to Linux kernel. This is just about USB Type-C. >>=20 > > Hello Heikki, > > we have implemented a prototype TCPM (USB Type-C Protocol Manager) > software on top of your patch set. It will support TCPCI as well > as other USB-C controllers such as FUSB302. The plan is to use > this software in systems where no separate controller is available. > > Is there any chance to advance this patch set ? It would be instrumental > to get a unified interface to user space. A newer version of $subject is already in Greg's queue [1] [1] https://git.kernel.org/cgit/linux/kernel/git/gregkh/usb.git/commit/?h= =3Dusb-next&id=3D0c1849a8c7af652c92ad0265a7ca5934fd773c69 =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXLD6YAAoJEIaOsuA1yqREkVgP/RSoEBKhC+v/utia/NTY9cqs eVSVnSanhrhCWvBuCCmmDm8aitUzMIN6RKxgHFQTg7X36g0GeaadkL5idkP1a9hO zAlW1SahTdFT2plMuxN190HvYWPJEq6rsiwD9em5e6MNbz7NJ37l8EhU7eiaSi2G DCelYbDAdFhffI8kzdQH8hqrOybKzqQWFBxHB+G7YdJNJ+LE0mocTGcer9fgqd3L zric9h3oDFPpkbk3vPV/aMMcX5U+W50BMrtOjVNqYwIpelcX5kcOlmZfnMIfNeos TAswVNNas6sq6iEcawQLKbjhTJOHzUncmWxcEo2CKiE6NXWoDcldTUBPiLADWx9O z6h2VjgvNONjf1GIqZNJ9eMbyTR5H0siVVsHDBn4a1tI89ZWiNeiqN0X0W4MDmVh nwMK8laUlgOonKhZwX+Jykk6y2ak7uL5Nl814nlYRYjc0AiazftFkgdaeET1leM5 j2YIHsjfty7RUFjJIdUmk8/wpTvMDwYXhpiztgKTcBvM5qqh4nqFicL642hWURK2 ByUucz+lj6i7ssNOVdcc4l+WjjNn6Ist3npcqvcYObUwWH+TXE3ZGRlg9yXOFR1W N9QR5ODLteo+dnvAcpyGd8NtPKnU0pJTd+8RZg/TpcOMC3Kyho87caQEsVQrdcWj BhEnBkvYQSpPpKeuobVD =3gVz -----END PGP SIGNATURE----- --=-=-=--