]>
Commit | Line | Data |
---|---|---|
5fd54ace | 1 | // SPDX-License-Identifier: GPL-2.0 |
4ac8918f YS |
2 | /* |
3 | * drivers/usb/host/xhci-rcar.h | |
4 | * | |
5 | * Copyright (C) 2014 Renesas Electronics Corporation | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or | |
8 | * modify it under the terms of the GNU General Public License | |
9 | * version 2 as published by the Free Software Foundation. | |
10 | */ | |
11 | ||
12 | #ifndef _XHCI_RCAR_H | |
13 | #define _XHCI_RCAR_H | |
14 | ||
9bf9d9d6 | 15 | #define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem" |
526a240f | 16 | #define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem" |
125f0c0c | 17 | #define XHCI_RCAR_FIRMWARE_NAME_V3 "r8a779x_usb3_v3.dlmem" |
9bf9d9d6 | 18 | |
4ac8918f YS |
19 | #if IS_ENABLED(CONFIG_USB_XHCI_RCAR) |
20 | void xhci_rcar_start(struct usb_hcd *hcd); | |
21 | int xhci_rcar_init_quirk(struct usb_hcd *hcd); | |
435cc113 | 22 | int xhci_rcar_resume_quirk(struct usb_hcd *hcd); |
4ac8918f YS |
23 | #else |
24 | static inline void xhci_rcar_start(struct usb_hcd *hcd) | |
25 | { | |
26 | } | |
27 | ||
28 | static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) | |
29 | { | |
30 | return 0; | |
31 | } | |
435cc113 YS |
32 | |
33 | static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd) | |
34 | { | |
35 | return 0; | |
36 | } | |
4ac8918f YS |
37 | #endif |
38 | #endif /* _XHCI_RCAR_H */ |