linux/drivers/phy/broadcom/phy-bcm63xx-usbh.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * BCM6328 USBH PHY Controller Driver
 *
 * Copyright (C) 2020 Álvaro Fernández Rojas <[email protected]>
 * Copyright (C) 2015 Simon Arlott
 *
 * Derived from bcm963xx_4.12L.06B_consumer/kernel/linux/arch/mips/bcm963xx/setup.c:
 * Copyright (C) 2002 Broadcom Corporation
 *
 * Derived from OpenWrt patches:
 * Copyright (C) 2013 Jonas Gorski <[email protected]>
 * Copyright (C) 2013 Florian Fainelli <[email protected]>
 * Copyright (C) 2008 Maxime Bizon <[email protected]>
 */

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

/* USBH control register offsets */
enum usbh_regs {};

struct bcm63xx_usbh_phy_variant {};

struct bcm63xx_usbh_phy {};

static const struct bcm63xx_usbh_phy_variant usbh_bcm6318 =;

static const struct bcm63xx_usbh_phy_variant usbh_bcm6328 =;

static const struct bcm63xx_usbh_phy_variant usbh_bcm6358 =;

static const struct bcm63xx_usbh_phy_variant usbh_bcm6368 =;

static const struct bcm63xx_usbh_phy_variant usbh_bcm63268 =;

static inline bool usbh_has_reg(struct bcm63xx_usbh_phy *usbh, int reg)
{}

static inline u32 usbh_readl(struct bcm63xx_usbh_phy *usbh, int reg)
{}

static inline void usbh_writel(struct bcm63xx_usbh_phy *usbh, int reg,
			       u32 value)
{}

static int bcm63xx_usbh_phy_init(struct phy *phy)
{}

static int bcm63xx_usbh_phy_power_on(struct phy *phy)
{}

static int bcm63xx_usbh_phy_power_off(struct phy *phy)
{}

static int bcm63xx_usbh_phy_exit(struct phy *phy)
{}

static const struct phy_ops bcm63xx_usbh_phy_ops =;

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

static int __init bcm63xx_usbh_phy_probe(struct platform_device *pdev)
{}

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

static struct platform_driver bcm63xx_usbh_phy_driver __refdata =;
module_platform_driver();

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