2017-11-03 17:28:30 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-07-09 08:08:52 +07:00
|
|
|
/*
|
|
|
|
* drivers/usb/host/xhci-rcar.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Renesas Electronics Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XHCI_RCAR_H
|
|
|
|
#define _XHCI_RCAR_H
|
|
|
|
|
2015-11-24 18:09:51 +07:00
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem"
|
2015-11-24 18:09:53 +07:00
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem"
|
2016-11-11 20:13:26 +07:00
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V3 "r8a779x_usb3_v3.dlmem"
|
2015-11-24 18:09:51 +07:00
|
|
|
|
2014-07-09 08:08:52 +07: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 20:55:48 +07:00
|
|
|
int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
|
2014-07-09 08:08:52 +07: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 20:55:48 +07:00
|
|
|
|
|
|
|
static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2014-07-09 08:08:52 +07:00
|
|
|
#endif
|
|
|
|
#endif /* _XHCI_RCAR_H */
|