linux/drivers/phy/hisilicon/phy-histb-combphy.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * COMBPHY driver for HiSilicon STB SoCs
 *
 * Copyright (C) 2016-2017 HiSilicon Co., Ltd. http://www.hisilicon.com
 *
 * Authors: Jianguo Sun <[email protected]>
 */

#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <dt-bindings/phy/phy.h>

#define COMBPHY_MODE_PCIE
#define COMBPHY_MODE_USB3
#define COMBPHY_MODE_SATA

#define COMBPHY_CFG_REG
#define COMBPHY_BYPASS_CODEC
#define COMBPHY_TEST_WRITE
#define COMBPHY_TEST_DATA_SHIFT
#define COMBPHY_TEST_DATA_MASK
#define COMBPHY_TEST_ADDR_SHIFT
#define COMBPHY_TEST_ADDR_MASK
#define COMBPHY_CLKREF_OUT_OEN

struct histb_combphy_mode {};

struct histb_combphy_priv {};

static void nano_register_write(struct histb_combphy_priv *priv,
				u32 addr, u32 data)
{}

static int is_mode_fixed(struct histb_combphy_mode *mode)
{}

static int histb_combphy_set_mode(struct histb_combphy_priv *priv)
{}

static int histb_combphy_init(struct phy *phy)
{}

static int histb_combphy_exit(struct phy *phy)
{}

static const struct phy_ops histb_combphy_ops =;

static struct phy *histb_combphy_xlate(struct device *dev,
				       const struct of_phandle_args *args)
{}

static int histb_combphy_probe(struct platform_device *pdev)
{}

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

static struct platform_driver histb_combphy_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();