#
# 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.
	  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 USB_PD_ENGINE
	tristate "USB Power Delivery Engine based on Type-C Port Manager"
	depends on EXTCON
	depends on LOGBUFFER
	select TYPEC_TCPM
	select USB_PD
	help
	  Say Y here to enable Type-C Port Manager as 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.

config LOGBUFFER
        tristate "debugfs logbuffer"
        help
          Say Y here to enable logbuffer.
          This option enables a module that exposes an API to maintain driver
          specific logs in an exclusive ring buffer and exposes it through
          debugfs.

endmenu
