#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/clk.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <linux/mfd/syscon.h>
#include <linux/phy/phy.h>
#define PHYPARAM_REG …
#define PHYCTRL_REG …
#define STIH407_USB_PICOPHY_CTRL_PORT_CONF …
#define STIH407_USB_PICOPHY_CTRL_PORT_MASK …
#define STIH407_USB_PICOPHY_PARAM_DEF …
#define STIH407_USB_PICOPHY_PARAM_MASK …
struct stih407_usb2_picophy { … };
static int stih407_usb2_pico_ctrl(struct stih407_usb2_picophy *phy_dev)
{ … }
static int stih407_usb2_init_port(struct phy *phy)
{ … }
static int stih407_usb2_exit_port(struct phy *phy)
{ … }
static const struct phy_ops stih407_usb2_picophy_data = …;
static int stih407_usb2_picophy_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id stih407_usb2_picophy_of_match[] = …;
MODULE_DEVICE_TABLE(of, stih407_usb2_picophy_of_match);
static struct platform_driver stih407_usb2_picophy_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;