| # SPDX-License-Identifier: GPL-2.0-only |
| # |
| # 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 TYPEC |
| select USB_PD |
| help |
| Say Y here to enable USB PD protocol and policy engine. |
| This driver provides a class that implements the upper |
| layers of the USB Power Delivery stack. It requires a |
| PD PHY driver in order to transmit and receive PD |
| messages on its behalf. |
| |
| 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 |