mirror of
https://github.com/torvalds/linux.git
synced 2024-11-20 11:01:38 +00:00
526a240f61
The R-Car H3 has two xHCI controllers. This SoC is compatible with R-Car Gen2 SoCs, however this SoC doesn't need some specific registers setting, and need a new firmware. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
31 lines
751 B
C
31 lines
751 B
C
/*
|
|
* drivers/usb/host/xhci-rcar.h
|
|
*
|
|
* Copyright (C) 2014 Renesas Electronics Corporation
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _XHCI_RCAR_H
|
|
#define _XHCI_RCAR_H
|
|
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem"
|
|
#define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem"
|
|
|
|
#if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
|
|
void xhci_rcar_start(struct usb_hcd *hcd);
|
|
int xhci_rcar_init_quirk(struct usb_hcd *hcd);
|
|
#else
|
|
static inline void xhci_rcar_start(struct usb_hcd *hcd)
|
|
{
|
|
}
|
|
|
|
static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
#endif /* _XHCI_RCAR_H */
|