linux/drivers/phy/broadcom/phy-bcm-cygnus-pcie.c

// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) 2015 Broadcom Corporation

#include <linux/delay.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>

#define PCIE_CFG_OFFSET
#define PCIE1_PHY_IDDQ_SHIFT
#define PCIE0_PHY_IDDQ_SHIFT

enum cygnus_pcie_phy_id {};

struct cygnus_pcie_phy_core;

/**
 * struct cygnus_pcie_phy - Cygnus PCIe PHY device
 * @core: pointer to the Cygnus PCIe PHY core control
 * @id: internal ID to identify the Cygnus PCIe PHY
 * @phy: pointer to the kernel PHY device
 */
struct cygnus_pcie_phy {};

/**
 * struct cygnus_pcie_phy_core - Cygnus PCIe PHY core control
 * @dev: pointer to device
 * @base: base register
 * @lock: mutex to protect access to individual PHYs
 * @phys: pointer to Cygnus PHY device
 */
struct cygnus_pcie_phy_core {};

static int cygnus_pcie_power_config(struct cygnus_pcie_phy *phy, bool enable)
{}

static int cygnus_pcie_phy_power_on(struct phy *p)
{}

static int cygnus_pcie_phy_power_off(struct phy *p)
{}

static const struct phy_ops cygnus_pcie_phy_ops =;

static int cygnus_pcie_phy_probe(struct platform_device *pdev)
{}

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

static struct platform_driver cygnus_pcie_phy_driver =;
module_platform_driver();

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