Skip to content

Commit 8243edf

Browse files
Heikki Krogerusgregkh
authored andcommitted
usb: typec: ucsi: Add ACPI driver
Driver for ACPI UCSI interface method. This driver replaces the previous UCSI driver drivers/usb/misc/ucsi.c. Signed-off-by: Heikki Krogerus <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent c1b0bc2 commit 8243edf

File tree

7 files changed

+176
-720
lines changed

7 files changed

+176
-720
lines changed

drivers/usb/misc/Kconfig

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -275,29 +275,3 @@ config USB_CHAOSKEY
275275

276276
To compile this driver as a module, choose M here: the
277277
module will be called chaoskey.
278-
279-
config UCSI
280-
tristate "USB Type-C Connector System Software Interface driver"
281-
depends on ACPI
282-
help
283-
UCSI driver is meant to be used as a convenience tool for desktop and
284-
server systems that are not equipped to handle USB in device mode. It
285-
will always select USB host role for the USB Type-C ports on systems
286-
that provide UCSI interface.
287-
288-
USB Type-C Connector System Software Interface (UCSI) is a
289-
specification for an interface that allows the Operating System to
290-
control the USB Type-C ports on a system. Things the need controlling
291-
include the USB Data Role (host or device), and when USB Power
292-
Delivery is supported, the Power Role (source or sink). With USB
293-
Type-C connectors, when two dual role capable devices are attached
294-
together, the data role is selected randomly. Therefore it is
295-
important to give the OS a way to select the role. Otherwise the user
296-
would have to unplug and replug in order in order to attempt to swap
297-
the data and power roles.
298-
299-
The UCSI specification can be downloaded from:
300-
http://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html
301-
302-
To compile the driver as a module, choose M here: the module will be
303-
called ucsi.

drivers/usb/misc/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ obj-$(CONFIG_USB_HUB_USB251XB) += usb251xb.o
2727
obj-$(CONFIG_USB_HSIC_USB3503) += usb3503.o
2828
obj-$(CONFIG_USB_HSIC_USB4604) += usb4604.o
2929
obj-$(CONFIG_USB_CHAOSKEY) += chaoskey.o
30-
obj-$(CONFIG_UCSI) += ucsi.o
3130

3231
obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/
3332
obj-$(CONFIG_USB_LINK_LAYER_TEST) += lvstest.o

0 commit comments

Comments
 (0)