linux/drivers/phy/intel/phy-intel-lgm-emmc.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel eMMC PHY driver
 * Copyright (C) 2019 Intel, Corp.
 */

#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

/* eMMC phy register definitions */
#define EMMC_PHYCTRL0_REG
#define DR_TY_MASK
#define DR_TY_SHIFT(x)
#define OTAPDLYENA
#define OTAPDLYSEL_MASK
#define OTAPDLYSEL_SHIFT(x)

#define EMMC_PHYCTRL1_REG
#define PDB_MASK
#define PDB_SHIFT(x)
#define ENDLL_MASK
#define ENDLL_SHIFT(x)

#define EMMC_PHYCTRL2_REG
#define FRQSEL_25M
#define FRQSEL_50M
#define FRQSEL_100M
#define FRQSEL_150M
#define FRQSEL_MASK
#define FRQSEL_SHIFT(x)

#define EMMC_PHYSTAT_REG
#define CALDONE_MASK
#define DLLRDY_MASK
#define IS_CALDONE(x)
#define IS_DLLRDY(x)

struct intel_emmc_phy {};

static int intel_emmc_phy_power(struct phy *phy, bool on_off)
{}

static int intel_emmc_phy_init(struct phy *phy)
{}

static int intel_emmc_phy_exit(struct phy *phy)
{}

static int intel_emmc_phy_power_on(struct phy *phy)
{}

static int intel_emmc_phy_power_off(struct phy *phy)
{}

static const struct phy_ops ops =;

static int intel_emmc_phy_probe(struct platform_device *pdev)
{}

static const struct of_device_id intel_emmc_phy_dt_ids[] =;

MODULE_DEVICE_TABLE(of, intel_emmc_phy_dt_ids);

static struct platform_driver intel_emmc_driver =;

module_platform_driver();

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