]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - drivers/usb/host/xhci-rcar.h
USB: add SPDX identifiers to all remaining files in drivers/usb/
[mirror_ubuntu-jammy-kernel.git] / drivers / usb / host / xhci-rcar.h
CommitLineData
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)
20void xhci_rcar_start(struct usb_hcd *hcd);
21int xhci_rcar_init_quirk(struct usb_hcd *hcd);
435cc113 22int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
4ac8918f
YS
23#else
24static inline void xhci_rcar_start(struct usb_hcd *hcd)
25{
26}
27
28static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
29{
30 return 0;
31}
435cc113
YS
32
33static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
34{
35 return 0;
36}
4ac8918f
YS
37#endif
38#endif /* _XHCI_RCAR_H */