#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/usb/otg.h>
#include <linux/stmp_device.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/workqueue.h>
Go to the source code of this file.
#define BM_USBPHY_CTRL_CLKGATE BIT(30) |
#define BM_USBPHY_CTRL_ENHOSTDISCONDETECT BIT(1) |
#define BM_USBPHY_CTRL_ENUTMILEVEL2 BIT(14) |
#define BM_USBPHY_CTRL_ENUTMILEVEL3 BIT(15) |
#define BM_USBPHY_CTRL_SFTRST BIT(31) |
#define DRIVER_NAME "mxs_phy" |
#define HW_USBPHY_CTRL 0x30 |
#define HW_USBPHY_CTRL_CLR 0x38 |
#define HW_USBPHY_CTRL_SET 0x34 |
#define HW_USBPHY_PWD 0x00 |
#define MXY_PHY_ENHOSTDISCONDETECT_DELAY 250 |
MODULE_ALIAS |
( |
"platform:mxs-usb-phy" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
of |
, |
|
|
mxs_phy_dt_ids |
|
|
) |
| |
module_exit |
( |
mxs_phy_module_exit |
| ) |
|
postcore_initcall |
( |
mxs_phy_module_init |
| ) |
|