#include <linux/delay.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/reset.h>
struct ipq4019_usb_phy { … };
static int ipq4019_ss_phy_power_off(struct phy *_phy)
{ … }
static int ipq4019_ss_phy_power_on(struct phy *_phy)
{ … }
static const struct phy_ops ipq4019_usb_ss_phy_ops = …;
static int ipq4019_hs_phy_power_off(struct phy *_phy)
{ … }
static int ipq4019_hs_phy_power_on(struct phy *_phy)
{ … }
static const struct phy_ops ipq4019_usb_hs_phy_ops = …;
static const struct of_device_id ipq4019_usb_phy_of_match[] = …;
MODULE_DEVICE_TABLE(of, ipq4019_usb_phy_of_match);
static int ipq4019_usb_phy_probe(struct platform_device *pdev)
{ … }
static struct platform_driver ipq4019_usb_phy_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;