#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/gpio/consumer.h>
#include <linux/of_platform.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>
#include <linux/of_address.h>
#include <linux/delay.h>
#include <linux/firmware/xlnx-zynqmp.h>
#include <linux/io.h>
#include <linux/phy/phy.h>
#define XLNX_USB_PHY_RST_EN …
#define XLNX_PHY_RST_MASK …
#define XLNX_USB_TRAFFIC_ROUTE_CONFIG …
#define XLNX_USB_TRAFFIC_ROUTE_FPD …
#define XLNX_USB_FPD_PIPE_CLK …
#define PIPE_CLK_DESELECT …
#define PIPE_CLK_SELECT …
#define XLNX_USB_FPD_POWER_PRSNT …
#define FPD_POWER_PRSNT_OPTION …
struct dwc3_xlnx { … };
static void dwc3_xlnx_mask_phy_rst(struct dwc3_xlnx *priv_data, bool mask)
{ … }
static int dwc3_xlnx_init_versal(struct dwc3_xlnx *priv_data)
{ … }
static int dwc3_xlnx_init_zynqmp(struct dwc3_xlnx *priv_data)
{ … }
static const struct of_device_id dwc3_xlnx_of_match[] = …;
MODULE_DEVICE_TABLE(of, dwc3_xlnx_of_match);
static int dwc3_set_swnode(struct device *dev)
{ … }
static int dwc3_xlnx_probe(struct platform_device *pdev)
{ … }
static void dwc3_xlnx_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused dwc3_xlnx_runtime_suspend(struct device *dev)
{ … }
static int __maybe_unused dwc3_xlnx_runtime_resume(struct device *dev)
{ … }
static int __maybe_unused dwc3_xlnx_runtime_idle(struct device *dev)
{ … }
static int __maybe_unused dwc3_xlnx_suspend(struct device *dev)
{ … }
static int __maybe_unused dwc3_xlnx_resume(struct device *dev)
{ … }
static const struct dev_pm_ops dwc3_xlnx_dev_pm_ops = …;
static struct platform_driver dwc3_xlnx_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;