···11menu "USB Power Delivery and Type-C drivers"2233-config TYPEC_TCPM44- tristate "USB Type-C Port Controller Manager"55- depends on USB66- select TYPEC77- help88- The Type-C Port Controller Manager provides a USB PD and USB Type-C99- state machine for use with Type-C Port Controllers.1010-113if TYPEC_TCPM124135config TYPEC_TCPCI
···11-tcpm:22-- Add documentation (at the very least for the API to low level drivers)33-- Split PD code into separate file44-- Check if it makes sense to use tracepoints instead of debugfs for debug logs55-- Implement Alternate Mode handling66-- Address "#if 0" code if not addressed with the above77-- Validate all comments marked with "XXX"; either address or remove comments88-- Add support for USB PD 3.0. While not mandatory, at least fast role swap99- as well as authentication support would be very desirable.1010-111tcpci:122- Test with real hardware133
+2-2
drivers/staging/typec/fusb302/fusb302.c
···3737#include <linux/string.h>3838#include <linux/types.h>3939#include <linux/usb/typec.h>4040+#include <linux/usb/tcpm.h>4141+#include <linux/usb/pd.h>4042#include <linux/workqueue.h>41434244#include "fusb302_reg.h"4343-#include "../tcpm.h"4444-#include "../pd.h"45454646/*4747 * When the device is SNK, BC_LVL interrupt is used to monitor cc pins
···44config TYPEC55 tristate6677+config TYPEC_TCPM88+ tristate "USB Type-C Port Controller Manager"99+ depends on USB1010+ select TYPEC1111+ help1212+ The Type-C Port Controller Manager provides a USB PD and USB Type-C1313+ state machine for use with Type-C Port Controllers.1414+715config TYPEC_WCOVE816 tristate "Intel WhiskeyCove PMIC USB Type-C PHY driver"917 depends on ACPI