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

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for EHCI UHP on Atmel chips
 *
 *  Copyright (C) 2009 Atmel Corporation,
 *                     Nicolas Ferre <[email protected]>
 *
 *  Based on various ehci-*.c drivers
 */

#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/usb.h>
#include <linux/usb/hcd.h>
#include <linux/usb/phy.h>
#include <linux/usb/of.h>

#include "ehci.h"

#define DRIVER_DESC

#define EHCI_INSNREG(index)
#define EHCI_INSNREG08_HSIC_EN

/* interface and function clocks */
#define hcd_to_atmel_ehci_priv(h)

struct atmel_ehci_priv {};

static struct hc_driver __read_mostly ehci_atmel_hc_driver;

static const struct ehci_driver_overrides ehci_atmel_drv_overrides __initconst =;

/*-------------------------------------------------------------------------*/

static void atmel_start_clock(struct atmel_ehci_priv *atmel_ehci)
{}

static void atmel_stop_clock(struct atmel_ehci_priv *atmel_ehci)
{}

static void atmel_start_ehci(struct platform_device *pdev)
{}

static void atmel_stop_ehci(struct platform_device *pdev)
{}

/*-------------------------------------------------------------------------*/

static int ehci_atmel_drv_probe(struct platform_device *pdev)
{}

static void ehci_atmel_drv_remove(struct platform_device *pdev)
{}

static int __maybe_unused ehci_atmel_drv_suspend(struct device *dev)
{}

static int __maybe_unused ehci_atmel_drv_resume(struct device *dev)
{}

#ifdef CONFIG_OF
static const struct of_device_id atmel_ehci_dt_ids[] =;

MODULE_DEVICE_TABLE(of, atmel_ehci_dt_ids);
#endif

static SIMPLE_DEV_PM_OPS(ehci_atmel_pm_ops, ehci_atmel_drv_suspend,
					ehci_atmel_drv_resume);

static struct platform_driver ehci_atmel_driver =;

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

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

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