mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 12:36:45 +07:00
4ac8918f3a
The R-Car H2 and M2 SoCs come with an xHCI controller that requires some specific initializations related to the firmware downloading and some specific registers. This patch adds the support for this special configuration as an xHCI quirk executed during probe and start. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Cc: "mathias.nyman@intel.com" <mathias.nyman@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
632 B
C
28 lines
632 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
|
|
|
|
#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 */
|