1 # SPDX-License-Identifier: GPL-2.0
4 tristate "USB Type-C Connector System Software Interface driver"
5 depends on !CPU_BIG_ENDIAN
6 depends on USB_ROLE_SWITCH || !USB_ROLE_SWITCH
7 select USB_COMMON if DEBUG_FS
9 USB Type-C Connector System Software Interface (UCSI) is a
10 specification for an interface that allows the operating system to
11 control the USB Type-C ports. On UCSI system the USB Type-C ports
12 function autonomously by default, but in order to get the status of
13 the ports and support basic operations like role swapping, the driver
14 is required. UCSI is available on most of the new Intel based systems
15 that are equipped with Embedded Controller and USB Type-C ports.
17 UCSI specification does not define the interface method, so depending
18 on the platform, ACPI, PCI, I2C, etc. may be used. Therefore this
19 driver only provides the core part, and separate drivers are needed
20 for every supported interface method.
22 The UCSI specification can be downloaded from:
23 https://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html
25 To compile the driver as a module, choose M here: the module will be
31 tristate "UCSI Interface Driver for Cypress CCGx"
34 This driver enables UCSI support on platforms that expose a
35 Cypress CCGx Type-C controller over I2C interface.
37 To compile the driver as a module, choose M here: the module will be
41 tristate "UCSI ACPI Interface Driver"
44 This driver enables UCSI support on platforms that expose UCSI
45 interface as ACPI device. On new Intel Atom based platforms starting
46 from Broxton SoCs and Core platforms stating from Skylake, UCSI is an
47 ACPI enumerated device.
49 To compile the driver as a module, choose M here: the module will be
53 tristate "UCSI Interface Driver for STM32G0"
56 This driver enables UCSI support on platforms that expose a STM32G0
57 Type-C controller over I2C interface.
59 To compile the driver as a module, choose M here: the module will be
62 config UCSI_PMIC_GLINK
63 tristate "UCSI Qualcomm PMIC GLINK Interface Driver"
64 depends on QCOM_PMIC_GLINK
66 This driver enables UCSI support on platforms that expose UCSI
67 interface as PMIC GLINK device.
69 To compile the driver as a module, choose M here: the module will be