#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/usb/chipidea.h>
#include <linux/clk.h>
#include <linux/reset.h>
#include <linux/mfd/syscon.h>
#include <linux/regmap.h>
#include <linux/io.h>
#include <linux/reset-controller.h>
#include <linux/extcon.h>
#include <linux/of.h>
#include "ci.h"
#define HS_PHY_AHB_MODE …
#define HS_PHY_GENCONFIG …
#define HS_PHY_TXFIFO_IDLE_FORCE_DIS …
#define HS_PHY_GENCONFIG_2 …
#define HS_PHY_SESS_VLD_CTRL_EN …
#define HS_PHY_ULPI_TX_PKT_EN_CLR_FIX …
#define HSPHY_SESS_VLD_CTRL …
#define HS_PHY_CTRL …
#define HS_PHY_SEC_CTRL …
#define HS_PHY_DIG_CLAMP_N …
#define HS_PHY_POR_ASSERT …
struct ci_hdrc_msm { … };
static int
ci_hdrc_msm_por_reset(struct reset_controller_dev *r, unsigned long id)
{ … }
static const struct reset_control_ops ci_hdrc_msm_reset_ops = …;
static int ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
{ … }
static int ci_hdrc_msm_mux_phy(struct ci_hdrc_msm *ci,
struct platform_device *pdev)
{ … }
static int ci_hdrc_msm_probe(struct platform_device *pdev)
{ … }
static void ci_hdrc_msm_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id msm_ci_dt_match[] = …;
MODULE_DEVICE_TABLE(of, msm_ci_dt_match);
static struct platform_driver ci_hdrc_msm_driver = …;
module_platform_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_ALIAS(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;