linux/drivers/usb/host/ehci-st.c

// SPDX-License-Identifier: GPL-2.0
/*
 * ST EHCI driver
 *
 * Copyright (C) 2014 STMicroelectronics – All Rights Reserved
 *
 * Author: Peter Griffin <[email protected]>
 *
 * Derived from ehci-platform.c
 */

#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/kernel.h>
#include <linux/hrtimer.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/reset.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/usb/ehci_pdriver.h>
#include <linux/pinctrl/consumer.h>

#include "ehci.h"

#define USB_MAX_CLKS

struct st_ehci_platform_priv {};

#define DRIVER_DESC

#define hcd_to_ehci_priv(h)

#define EHCI_CAPS_SIZE
#define AHB2STBUS_INSREG01

static int st_ehci_platform_reset(struct usb_hcd *hcd)
{}

static int st_ehci_platform_power_on(struct platform_device *dev)
{}

static void st_ehci_platform_power_off(struct platform_device *dev)
{}

static struct hc_driver __read_mostly ehci_platform_hc_driver;

static const struct ehci_driver_overrides platform_overrides __initconst =;

static struct usb_ehci_pdata ehci_platform_defaults =;

static int st_ehci_platform_probe(struct platform_device *dev)
{}

static void st_ehci_platform_remove(struct platform_device *dev)
{}

#ifdef CONFIG_PM_SLEEP

static int st_ehci_suspend(struct device *dev)
{}

static int st_ehci_resume(struct device *dev)
{}

static SIMPLE_DEV_PM_OPS(st_ehci_pm_ops, st_ehci_suspend, st_ehci_resume);

#endif /* CONFIG_PM_SLEEP */

static const struct of_device_id st_ehci_ids[] =;
MODULE_DEVICE_TABLE(of, st_ehci_ids);

static struct platform_driver ehci_platform_driver =;

static int __init ehci_platform_init(void)
{}
module_init();

static void __exit ehci_platform_cleanup(void)
{}
module_exit(ehci_platform_cleanup);

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();