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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2009-2018, Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2020, Linaro Limited
 */

#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/reset.h>
#include <linux/slab.h>

/* PHY register and bit definitions */
#define PHY_CTRL_COMMON0
#define SIDDQ
#define PHY_IRQ_CMD
#define PHY_INTR_MASK0
#define PHY_INTR_CLEAR0
#define DPDM_MASK
#define DP_1_0
#define DP_0_1
#define DM_1_0
#define DM_0_1

enum hsphy_voltage {};

enum hsphy_vreg {};

struct hsphy_init_seq {};

struct hsphy_data {};

struct hsphy_priv {};

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

static void qcom_snps_hsphy_enable_hv_interrupts(struct hsphy_priv *priv)
{}

static void qcom_snps_hsphy_disable_hv_interrupts(struct hsphy_priv *priv)
{}

static void qcom_snps_hsphy_enter_retention(struct hsphy_priv *priv)
{}

static void qcom_snps_hsphy_exit_retention(struct hsphy_priv *priv)
{}

static int qcom_snps_hsphy_power_on(struct phy *phy)
{}

static int qcom_snps_hsphy_power_off(struct phy *phy)
{}

static int qcom_snps_hsphy_reset(struct hsphy_priv *priv)
{}

static void qcom_snps_hsphy_init_sequence(struct hsphy_priv *priv)
{}

static int qcom_snps_hsphy_por_reset(struct hsphy_priv *priv)
{}

static int qcom_snps_hsphy_init(struct phy *phy)
{}

static int qcom_snps_hsphy_exit(struct phy *phy)
{}

static const struct phy_ops qcom_snps_hsphy_ops =;

static const char * const qcom_snps_hsphy_clks[] =;

static int qcom_snps_hsphy_probe(struct platform_device *pdev)
{}

/*
 * The macro is used to define an initialization sequence.  Each tuple
 * is meant to program 'value' into phy register at 'offset' with 'delay'
 * in us followed.
 */
#define HSPHY_INIT_CFG(o, v, d)

static const struct hsphy_init_seq init_seq_femtophy[] =;

static const struct hsphy_data hsphy_data_femtophy =;

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

static struct platform_driver qcom_snps_hsphy_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();