[Feature]USB Type-C Enabling for Broxton-P

Bug #1520476 reported by XiongZhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With USB Type-C the OS needs to be able to switch the USB data role between host mode and device mode. This is because USB Type-C connection will select the role randomly.
Our implementation will expose an "extcon" (external connector class) device to the OS that can be used for the role switching. The USB Type-C ports on BXT are controlled via UCSI (USB Type-C System Software Interface). We will implement support for UCSI in this task. The UCSI will be implemented as a "library" inside kernel. The actual UCSI device on BXT is ACPI enumerated device, so we will implement driver for it. This driver will simply "register" itself with the library that will do the rest. The "library" approach is used because UCSI does not specify the actual bus (I2C, SPI, etc.) that is used to interface with the Type-C ports. It only specifies the data structures. That means that even though on BXT we have ACPI enumerate device for the UCSI interface, on future platforms it may be something else like PCI enumerate device

UCSI is published in http://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html

HW: Apollo Lake

Scheduler:
Kernel: 4.7

description: updated
Revision history for this message
XiongZhang (xiong-y-zhang) wrote :

This is implemented in 4.7 kernel by:
0c1849a usb: Add driver for UCSI

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The v4.8 based kernel has been uploaded to the Yakkety 16.10 archive. I'm setting this to Fix Released.

git describe --contains 0c1849a
v4.7-rc1~93^2~22

commit 0c1849a8c7af652c92ad0265a7ca5934fd773c69
Author: Heikki Krogerus <email address hidden>
Date: Thu Apr 21 15:43:40 2016 +0300

    usb: Add driver for UCSI

information type: Proprietary → Public
Changed in linux (Ubuntu):
status: New → Fix Released
Changed in intel:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.