linux/drivers/phy/broadcom/phy-bcm-kona-usb2.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * phy-bcm-kona-usb2.c - Broadcom Kona USB2 Phy Driver
 *
 * Copyright (C) 2013 Linaro Limited
 * Matt Porter <[email protected]>
 */

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

#define OTGCTL
#define OTGCTL_OTGSTAT2
#define OTGCTL_OTGSTAT1
#define OTGCTL_PRST_N_SW
#define OTGCTL_HRESET_N
#define OTGCTL_UTMI_LINE_STATE1
#define OTGCTL_UTMI_LINE_STATE0

#define P1CTL
#define P1CTL_SOFT_RESET
#define P1CTL_NON_DRIVING

struct bcm_kona_usb {};

static void bcm_kona_usb_phy_power(struct bcm_kona_usb *phy, int on)
{}

static int bcm_kona_usb_phy_init(struct phy *gphy)
{}

static int bcm_kona_usb_phy_power_on(struct phy *gphy)
{}

static int bcm_kona_usb_phy_power_off(struct phy *gphy)
{}

static const struct phy_ops ops =;

static int bcm_kona_usb2_probe(struct platform_device *pdev)
{}

static const struct of_device_id bcm_kona_usb2_dt_ids[] =;

MODULE_DEVICE_TABLE(of, bcm_kona_usb2_dt_ids);

static struct platform_driver bcm_kona_usb2_driver =;

module_platform_driver();

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