#
# softwinner SUNXI USB2.0 Dual Role Controller Driver.
#

#---------------------------------------------
#-
#- config USB2.0 Dual Role Controller.
#-
#---------------------------------------------
menuconfig USB_SUNXI_USB
    tristate "SUNXI USB2.0 Dual Role Controller support"
    depends on ARCH_SUNXI
    help
        SUNXI USB2.0 Dual Role Controller

config USB_SUNXI_USB_GADGET_FORCE_SET_DESCRIPTOR
    boolean "Force Set SUNXI USB Gadget Descriptor"
    depends on ARCH_SUNXI
    help
        force set SUNXI USB gadget descriptor for project Moon:
        this will force set 0x00 to index for iManufacturer, iProduct, 
        and iSerialNumber.
        
        alse remove text information for iManufacturer, iProduct,
        and iSerialNumber. say Y if this build for project Moon.

config USB_SUNXI_USB_MANAGER
    tristate "SUNXI USB2.0 Manager"
    depends on USB_SUNXI_USB
    help
        manager all usb controller.

#---------------------------------------------
#-
#- usb0 mode slecet.
#-
#---------------------------------------------
choice

    prompt "USB0 Controller support"
    depends on (USB_SUNXI_USB && USB_SUNXI_USB_MANAGER)
    help
        usb0 Controller mode slecet. choice "device only", then usb0 can only use for device.
        choice "host only", then usb0 can only use for host. choice "OTG", then usb0 can only
        use device and host.

config USB_SUNXI_USB0_NULL
    boolean "usb manager not support"
    help
        usb0 do not monitor hardware, then drvier insmod shoud by application.

config USB_SUNXI_USB0_DEVICE_ONLY
    boolean "device only support"
    help
        usb0 can only use for device.

config USB_SUNXI_USB0_HOST_ONLY
    boolean "host only support"
    help
        usb0 can only use for host.

config USB_SUNXI_USB0_OTG
    boolean "otg support"
    help
        usb0 can only use for device and host.


endchoice

config USB_SUNXI_USB_DEBUG
    tristate "SUNXI USB driver debug message"
    depends on USB_SUNXI_USB
    help
        SUNXI USB driver debug message.

config USB_SUNXI_HOST
    tristate "SUNXI USB HSOT driver"
    depends on USB_SUNXI_USB
    help
        SUNXI USB driver debug message.

