usb: phy: Dual role sysfs class definition
[firefly-linux-kernel-4.4.55.git] / drivers / usb / phy / Kconfig
index 0dd0da0d0ac528f86326be551e44b4296c8a1f21..a9fa111928cdd09aac3a22b09a854d942478233f 100644 (file)
@@ -218,4 +218,13 @@ config USB_ULPI_VIEWPORT
          Provides read/write operations to the ULPI phy register set for
          controllers with a viewport register (e.g. Chipidea/ARC controllers).
 
+config DUAL_ROLE_USB_INTF
+       bool "Generic DUAL ROLE sysfs interface"
+       depends on SYSFS && USB_PHY
+       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.
+
 endif # USB_PHY