Skip to content
  • Roger Quadros's avatar
    usb: dwc3: core: cleanup IRQ resources · 9522def4
    Roger Quadros authored
    
    
    Implementations might use different IRQs for
    host, gadget so use named interrupt resources
    to allow device tree to specify the interrupts.
    
    Following are the interrupt names
    
    Peripheral Interrupt - peripheral
    HOST Interrupt - host
    
    Maintain backward compatibility for a single named
    interrupt ("dwc3_usb3") for all interrupts as well as
    unnamed interrupt at index 0 for all interrupts.
    
    As platform_get_irq() variants are used, tackle
    the -EPROBE_DEFER case as well.
    
    Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    9522def4