blob: 2941a25cfe9895f60d167a161ac2d983c7c7213d [file] [log] [blame]
Yoshihiro Shimoda4ac89182014-07-09 10:08:52 +09001/*
2 * drivers/usb/host/xhci-rcar.h
3 *
4 * Copyright (C) 2014 Renesas Electronics Corporation
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
9 */
10
11#ifndef _XHCI_RCAR_H
12#define _XHCI_RCAR_H
13
Yoshihiro Shimoda9bf9d9d2015-11-24 13:09:51 +020014#define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem"
Yoshihiro Shimoda526a2402015-11-24 13:09:53 +020015#define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem"
Yoshihiro Shimoda9bf9d9d2015-11-24 13:09:51 +020016
Yoshihiro Shimoda4ac89182014-07-09 10:08:52 +090017#if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
18void xhci_rcar_start(struct usb_hcd *hcd);
19int xhci_rcar_init_quirk(struct usb_hcd *hcd);
20#else
21static inline void xhci_rcar_start(struct usb_hcd *hcd)
22{
23}
24
25static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
26{
27 return 0;
28}
29#endif
30#endif /* _XHCI_RCAR_H */