linux/drivers/phy/socionext/phy-uniphier-usb3ss.c

// SPDX-License-Identifier: GPL-2.0
/*
 * phy-uniphier-usb3ss.c - SS-PHY driver for Socionext UniPhier USB3 controller
 * Copyright 2015-2018 Socionext Inc.
 * Author:
 *      Kunihiko Hayashi <[email protected]>
 * Contributors:
 *      Motoya Tanigawa <[email protected]>
 *      Masami Hiramatsu <[email protected]>
 */

#include <linux/bitfield.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/reset.h>

#define SSPHY_TESTI
#define TESTI_DAT_MASK
#define TESTI_ADR_MASK
#define TESTI_WR_EN

#define SSPHY_TESTO
#define TESTO_DAT_MASK

#define PHY_F(regno, msb, lsb)

#define CDR_CPD_TRIM
#define CDR_CPF_TRIM
#define TX_PLL_TRIM
#define BGAP_TRIM
#define CDR_TRIM
#define VCO_CTRL
#define VCOPLL_CTRL
#define VCOPLL_CM

#define MAX_PHY_PARAMS

struct uniphier_u3ssphy_param {};

struct uniphier_u3ssphy_priv {};

struct uniphier_u3ssphy_soc_data {};

static void uniphier_u3ssphy_testio_write(struct uniphier_u3ssphy_priv *priv,
					  u32 data)
{}

static void uniphier_u3ssphy_set_param(struct uniphier_u3ssphy_priv *priv,
				       const struct uniphier_u3ssphy_param *p)
{}

static int uniphier_u3ssphy_power_on(struct phy *phy)
{}

static int uniphier_u3ssphy_power_off(struct phy *phy)
{}

static int uniphier_u3ssphy_init(struct phy *phy)
{}

static int uniphier_u3ssphy_exit(struct phy *phy)
{}

static const struct phy_ops uniphier_u3ssphy_ops =;

static int uniphier_u3ssphy_probe(struct platform_device *pdev)
{}

static const struct uniphier_u3ssphy_soc_data uniphier_pro4_data =;

static const struct uniphier_u3ssphy_soc_data uniphier_pxs2_data =;

static const struct uniphier_u3ssphy_soc_data uniphier_ld20_data =;

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

static struct platform_driver uniphier_u3ssphy_driver =;

module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();