#
# TypeC Port Controller Device Configuration
#

config HW_TCPC_CLASS
	bool "Huawei typec Port Controller Device Class"
	default n
	help
	  Say Y to enable
	  Typec Port
	  Controller Device
	  Class

config HW_USB_POWER_DELIVERY
	bool "Support Huawei USB power delivery Function"
	depends on HW_TCPC_CLASS
	default n
	help
	  Say Y to enable
	  USB
	  Power Delivery
	  support

config HW_TCPC_RT1711H
	bool "RT1711H TypeC port Controller Driver"
	depends on HW_TCPC_CLASS
	default n
	help
	  Say Y to enable
	  Richtek RT1711H
	  TypeC port Controller
	  Driver

config HW_USB_PD_VBUS_STABLE_TOUT
	int "Huawei PD VBUS Stable Timeout"
	depends on HW_USB_POWER_DELIVERY
	range 0 1000
	default 125
	help
	  Setup a timeout value (ms)
	  for
	  VBUS change
	  stable

config HW_DUAL_ROLE_USB_INTF
	bool "Generic huawei DUAL ROLE sysfs interface"
	depends on HW_TCPC_CLASS
	default n
	help
	  A generic sysfs interface to track and change the state of
	  dual role usb phys. The usb phy drivers can register to
	  this interface to expose it capabilities to the userspace
	  and thereby allowing userspace to change the port mode.
