linux/drivers/usb/musb/mpfs.c

// SPDX-License-Identifier: GPL-2.0
/*
 * PolarFire SoC (MPFS) MUSB Glue Layer
 *
 * Copyright (c) 2020-2022 Microchip Corporation. All rights reserved.
 * Based on {omap2430,tusb6010,ux500}.c
 *
 */

#include <linux/clk.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/usb/usb_phy_generic.h>
#include "musb_core.h"
#include "musb_dma.h"

#define MPFS_MUSB_MAX_EP_NUM
#define MPFS_MUSB_RAM_BITS

struct mpfs_glue {};

static struct musb_fifo_cfg mpfs_musb_mode_cfg[] =;

static const struct musb_hdrc_config mpfs_musb_hdrc_config =;

static irqreturn_t mpfs_musb_interrupt(int irq, void *__hci)
{}

static void mpfs_musb_set_vbus(struct musb *musb, int is_on)
{}

static int mpfs_musb_init(struct musb *musb)
{}

static const struct musb_platform_ops mpfs_ops =;

static int mpfs_probe(struct platform_device *pdev)
{}

static void mpfs_remove(struct platform_device *pdev)
{}

#ifdef CONFIG_OF
static const struct of_device_id mpfs_id_table[] =;
MODULE_DEVICE_TABLE(of, mpfs_id_table);
#endif

static struct platform_driver mpfs_musb_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();