2017-11-03 18:28:30 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-07-09 09:08:52 +08:00
|
|
|
/*
|
|
|
|
* drivers/usb/host/xhci-rcar.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Renesas Electronics Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XHCI_RCAR_H
|
|
|
|
#define _XHCI_RCAR_H
|
|
|
|
|
2015-11-24 19:09:51 +08:00
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem"
|
2015-11-24 19:09:53 +08:00
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem"
|
2016-11-11 21:13:26 +08:00
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V3 "r8a779x_usb3_v3.dlmem"
|
2015-11-24 19:09:51 +08:00
|
|
|
|
2014-07-09 09:08:52 +08:00
|
|
|
#if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
|
|
|
|
void xhci_rcar_start(struct usb_hcd *hcd);
|
|
|
|
int xhci_rcar_init_quirk(struct usb_hcd *hcd);
|
2017-04-19 21:55:48 +08:00
|
|
|
int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
|
2014-07-09 09:08:52 +08:00
|
|
|
#else
|
|
|
|
static inline void xhci_rcar_start(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2017-04-19 21:55:48 +08:00
|
|
|
|
|
|
|
static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2014-07-09 09:08:52 +08:00
|
|
|
#endif
|
|
|
|
#endif /* _XHCI_RCAR_H */
|