summaryrefslogtreecommitdiff
path: root/drivers/usb/pd/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/pd/Kconfig')
-rw-r--r--drivers/usb/pd/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/usb/pd/Kconfig b/drivers/usb/pd/Kconfig
new file mode 100644
index 000000000000..cc88df495f6e
--- /dev/null
+++ b/drivers/usb/pd/Kconfig
@@ -0,0 +1,25 @@
+#
+# USB Power Delivery driver configuration
+#
+menu "USB Power Delivery"
+
+config USB_PD
+ def_bool n
+
+config USB_PD_POLICY
+ tristate "USB Power Delivery Protocol and Policy Engine"
+ depends on EXTCON
+ depends on DUAL_ROLE_USB_INTF
+ select USB_PD
+ help
+ Say Y here to enable USB PD protocol and policy engine.
+
+config QPNP_USB_PDPHY
+ tristate "QPNP USB Power Delivery PHY"
+ depends on SPMI
+ help
+ Say Y here to enable QPNP USB PD PHY peripheral driver
+ which communicates over the SPMI bus. The is used to handle
+ the PHY layer communication of the Power Delivery stack.
+
+endmenu