// SPDX-License-Identifier: GPL-1.0+ /* * Renesas USB * * Copyright (C) 2011 Renesas Solutions Corp. * Copyright (C) 2019 Renesas Electronics Corporation * Kuninori Morimoto <[email protected]> */ #ifndef RENESAS_USB_H #define RENESAS_USB_H #include <linux/notifier.h> #include <linux/platform_device.h> #include <linux/usb/ch9.h> /* * module type * * it will be return value from get_id */ enum { … }; /* * callback functions for platform * * These functions are called from driver for platform */ struct renesas_usbhs_platform_callback { … }; /* * parameters for renesas usbhs * * some register needs USB chip specific parameters. * This struct show it to driver */ struct renesas_usbhs_driver_pipe_config { … }; #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) … struct renesas_usbhs_driver_param { … }; /* * option: * * platform information for renesas_usbhs driver. */ struct renesas_usbhs_platform_info { … }; #endif /* RENESAS_USB_H */