linux/drivers/phy/ti/phy-da8xx-usb.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * phy-da8xx-usb - TI DaVinci DA8xx USB PHY driver
 *
 * Copyright (C) 2016 David Lechner <[email protected]>
 */

#include <linux/clk.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/mfd/da8xx-cfgchip.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/phy/phy.h>
#include <linux/platform_data/phy-da8xx-usb.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/regmap.h>

#define PHY_INIT_BITS

struct da8xx_usb_phy {};

static int da8xx_usb11_phy_power_on(struct phy *phy)
{}

static int da8xx_usb11_phy_power_off(struct phy *phy)
{}

static const struct phy_ops da8xx_usb11_phy_ops =;

static int da8xx_usb20_phy_power_on(struct phy *phy)
{}

static int da8xx_usb20_phy_power_off(struct phy *phy)
{}

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

static const struct phy_ops da8xx_usb20_phy_ops =;

static int __maybe_unused da8xx_runtime_suspend(struct device *dev)
{}

static int __maybe_unused da8xx_runtime_resume(struct device *dev)
{}

static const struct dev_pm_ops da8xx_usb_phy_pm_ops =;

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

static int da8xx_usb_phy_probe(struct platform_device *pdev)
{}

static void da8xx_usb_phy_remove(struct platform_device *pdev)
{}

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

static struct platform_driver da8xx_usb_phy_driver =;

module_platform_driver();

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