linux/drivers/phy/samsung/phy-samsung-ufs.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * UFS PHY driver for Samsung SoC
 *
 * Copyright (C) 2020 Samsung Electronics Co., Ltd.
 * Author: Seungwon Jeon <[email protected]>
 * Author: Alim Akhtar <[email protected]>
 *
 */
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/module.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/soc/samsung/exynos-pmu.h>

#include "phy-samsung-ufs.h"

#define for_each_phy_lane(phy, i)
#define for_each_phy_cfg(cfg)

#define PHY_DEF_LANE_CNT

static void samsung_ufs_phy_config(struct samsung_ufs_phy *phy,
				   const struct samsung_ufs_phy_cfg *cfg,
				   u8 lane)
{}

int samsung_ufs_phy_wait_for_lock_acq(struct phy *phy, u8 lane)
{}

static int samsung_ufs_phy_calibrate(struct phy *phy)
{}

static int samsung_ufs_phy_clks_init(struct samsung_ufs_phy *phy)
{}

static int samsung_ufs_phy_init(struct phy *phy)
{}

static int samsung_ufs_phy_power_on(struct phy *phy)
{}

static int samsung_ufs_phy_power_off(struct phy *phy)
{}

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

static int samsung_ufs_phy_exit(struct phy *phy)
{}

static const struct phy_ops samsung_ufs_phy_ops =;

static const struct of_device_id samsung_ufs_phy_match[];

static int samsung_ufs_phy_probe(struct platform_device *pdev)
{}

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

static struct platform_driver samsung_ufs_phy_driver =;
module_platform_driver();
MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_AUTHOR();
MODULE_LICENSE();