linux/drivers/phy/lantiq/phy-lantiq-rcu-usb2.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Lantiq XWAY SoC RCU module based USB 1.1/2.0 PHY driver
 *
 * Copyright (C) 2016 Martin Blumenstingl <[email protected]>
 * Copyright (C) 2017 Hauke Mehrtens <[email protected]>
 */

#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/property.h>
#include <linux/regmap.h>
#include <linux/reset.h>

/* Transmitter HS Pre-Emphasis Enable */
#define RCU_CFG1_TX_PEE
/* Disconnect Threshold */
#define RCU_CFG1_DIS_THR_MASK
#define RCU_CFG1_DIS_THR_SHIFT

struct ltq_rcu_usb2_bits {};

struct ltq_rcu_usb2_priv {};

static const struct ltq_rcu_usb2_bits xway_rcu_usb2_reg_bits =;

static const struct ltq_rcu_usb2_bits xrx100_rcu_usb2_reg_bits =;

static const struct ltq_rcu_usb2_bits xrx200_rcu_usb2_reg_bits =;

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

static int ltq_rcu_usb2_phy_init(struct phy *phy)
{}

static int ltq_rcu_usb2_phy_power_on(struct phy *phy)
{}

static int ltq_rcu_usb2_phy_power_off(struct phy *phy)
{}

static const struct phy_ops ltq_rcu_usb2_phy_ops =;

static int ltq_rcu_usb2_of_parse(struct ltq_rcu_usb2_priv *priv,
				 struct platform_device *pdev)
{}

static int ltq_rcu_usb2_phy_probe(struct platform_device *pdev)
{}

static struct platform_driver ltq_rcu_usb2_phy_driver =;
module_platform_driver();

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