#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/usb/usb_phy_generic.h>
#include <linux/io.h>
#include <linux/of.h>
#include "phy-generic.h"
#define USB_PHY_CTL_UTMI …
#define USB_PHY_CTL_PIPE …
#define USB_PHY_CTL_PARAM_1 …
#define USB_PHY_CTL_PARAM_2 …
#define USB_PHY_CTL_CLOCK …
#define USB_PHY_CTL_PLL …
#define PHY_REF_SSP_EN …
struct keystone_usbphy { … };
static inline u32 keystone_usbphy_readl(void __iomem *base, u32 offset)
{ … }
static inline void keystone_usbphy_writel(void __iomem *base,
u32 offset, u32 value)
{ … }
static int keystone_usbphy_init(struct usb_phy *phy)
{ … }
static void keystone_usbphy_shutdown(struct usb_phy *phy)
{ … }
static int keystone_usbphy_probe(struct platform_device *pdev)
{ … }
static void keystone_usbphy_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id keystone_usbphy_ids[] = …;
MODULE_DEVICE_TABLE(of, keystone_usbphy_ids);
static struct platform_driver keystone_usbphy_driver = …;
module_platform_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;