linux/drivers/phy/marvell/phy-pxa-28nm-hsic.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (C) 2015 Linaro, Ltd.
 * Rob Herring <[email protected]>
 *
 * Based on vendor driver:
 * Copyright (C) 2013 Marvell Inc.
 * Author: Chao Xie <[email protected]>
 */

#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/phy/phy.h>

#define PHY_28NM_HSIC_CTRL
#define PHY_28NM_HSIC_IMPCAL_CAL
#define PHY_28NM_HSIC_PLL_CTRL01
#define PHY_28NM_HSIC_PLL_CTRL2
#define PHY_28NM_HSIC_INT

#define PHY_28NM_HSIC_PLL_SELLPFR_SHIFT
#define PHY_28NM_HSIC_PLL_FBDIV_SHIFT
#define PHY_28NM_HSIC_PLL_REFDIV_SHIFT

#define PHY_28NM_HSIC_S2H_PU_PLL
#define PHY_28NM_HSIC_H2S_PLL_LOCK
#define PHY_28NM_HSIC_S2H_HSIC_EN
#define S2H_DRV_SE0_4RESUME
#define PHY_28NM_HSIC_H2S_IMPCAL_DONE

#define PHY_28NM_HSIC_CONNECT_INT
#define PHY_28NM_HSIC_HS_READY_INT

struct mv_hsic_phy {};

static int wait_for_reg(void __iomem *reg, u32 mask, u32 ms)
{}

static int mv_hsic_phy_init(struct phy *phy)
{}

static int mv_hsic_phy_power_on(struct phy *phy)
{}

static int mv_hsic_phy_power_off(struct phy *phy)
{}

static int mv_hsic_phy_exit(struct phy *phy)
{}


static const struct phy_ops hsic_ops =;

static int mv_hsic_phy_probe(struct platform_device *pdev)
{}

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

static struct platform_driver mv_hsic_phy_driver =;
module_platform_driver();

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