Skip to content

Commit

Permalink
staging: typec: Type-C Port Controller Interface driver (tcpci)
Browse files Browse the repository at this point in the history
The port controller interface driver interconnects the Type-C Port
Manager with a Type-C Port Controller Interface (TCPCI) compliant
port controller.

Signed-off-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Guenter Roeck authored and gregkh committed Apr 28, 2017
1 parent f0690a2 commit 74e656d
Show file tree
Hide file tree
Showing 5 changed files with 674 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/staging/typec/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,15 @@ config TYPEC_TCPM
The Type-C Port Controller Manager provides a USB PD and USB Type-C
state machine for use with Type-C Port Controllers.

if TYPEC_TCPM

config TYPEC_TCPCI
tristate "Type-C Port Controller Interface driver"
depends on I2C
select REGMAP_I2C
help
Type-C Port Controller driver for TCPCI-compliant controller.

endif

endmenu
1 change: 1 addition & 0 deletions drivers/staging/typec/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
obj-$(CONFIG_TYPEC_TCPM) += tcpm.o
obj-$(CONFIG_TYPEC_TCPCI) += tcpci.o
3 changes: 3 additions & 0 deletions drivers/staging/typec/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@ tcpm:
- Add support for USB PD 3.0. While not mandatory, at least fast role swap
as well as authentication support would be very desirable.

tcpci:
- Test with real hardware

Please send patches to Guenter Roeck <linux@roeck-us.net> and copy
Heikki Krogerus <heikki.krogerus@linux.intel.com>.

0 comments on commit 74e656d

Please sign in to comment.