linux/drivers/usb/host/xhci-rzv2m.h
Biju Das c52c9acc41 xhci: host: Add Renesas RZ/V2M SoC support
RZ/V2M is similar to R-Car XHCI but it doesn't require any
firmware, we need to reset the USB Host reset release in DRD Module
before accessing host registers.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230121145853.4792-10-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-25 15:48:17 +01:00

17 lines
400 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __XHCI_RZV2M_H
#define __XHCI_RZV2M_H
#if IS_ENABLED(CONFIG_USB_XHCI_RZV2M)
void xhci_rzv2m_start(struct usb_hcd *hcd);
int xhci_rzv2m_init_quirk(struct usb_hcd *hcd);
#else
static inline void xhci_rzv2m_start(struct usb_hcd *hcd) {}
static inline int xhci_rzv2m_init_quirk(struct usb_hcd *hcd)
{
return -EINVAL;
}
#endif
#endif /* __XHCI_RZV2M_H */