#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/usb/of.h>
#define USB_125M_CLK_RATE …
#define USB_LS_KEEPALIVE_OFF …
#define USB_LS_KEEPALIVE_ENABLE …
struct jh7110_usb2_phy { … };
static void usb2_set_ls_keepalive(struct jh7110_usb2_phy *phy, bool set)
{ … }
static int usb2_phy_set_mode(struct phy *_phy,
enum phy_mode mode, int submode)
{ … }
static int jh7110_usb2_phy_init(struct phy *_phy)
{ … }
static int jh7110_usb2_phy_exit(struct phy *_phy)
{ … }
static const struct phy_ops jh7110_usb2_phy_ops = …;
static int jh7110_usb_phy_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id jh7110_usb_phy_of_match[] = …;
MODULE_DEVICE_TABLE(of, jh7110_usb_phy_of_match);
static struct platform_driver jh7110_usb_phy_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;