linux/drivers/phy/qualcomm/phy-qcom-usb-hs.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2016 Linaro Ltd
 */
#include <linux/module.h>
#include <linux/ulpi/driver.h>
#include <linux/ulpi/regs.h>
#include <linux/clk.h>
#include <linux/regulator/consumer.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/reset.h>
#include <linux/extcon.h>
#include <linux/notifier.h>

#define ULPI_PWR_CLK_MNG_REG
#define ULPI_PWR_OTG_COMP_DISABLE

#define ULPI_MISC_A
#define ULPI_MISC_A_VBUSVLDEXTSEL
#define ULPI_MISC_A_VBUSVLDEXT


struct ulpi_seq {};

struct qcom_usb_hs_phy {};

static int qcom_usb_hs_phy_set_mode(struct phy *phy,
				    enum phy_mode mode, int submode)
{}

static int
qcom_usb_hs_phy_vbus_notifier(struct notifier_block *nb, unsigned long event,
			      void *ptr)
{}

static int qcom_usb_hs_phy_power_on(struct phy *phy)
{}

static int qcom_usb_hs_phy_power_off(struct phy *phy)
{}

static const struct phy_ops qcom_usb_hs_phy_ops =;

static int qcom_usb_hs_phy_probe(struct ulpi *ulpi)
{}

static const struct of_device_id qcom_usb_hs_phy_match[] =;
MODULE_DEVICE_TABLE(of, qcom_usb_hs_phy_match);

static struct ulpi_driver qcom_usb_hs_phy_driver =;
module_ulpi_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();