linux/drivers/phy/phy-lpc18xx-usb-otg.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * PHY driver for NXP LPC18xx/43xx internal USB OTG PHY
 *
 * Copyright (C) 2015 Joachim Eastwood <[email protected]>
 */

#include <linux/clk.h>
#include <linux/err.h>
#include <linux/mfd/syscon.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>

/* USB OTG PHY register offset and bit in CREG */
#define LPC18XX_CREG_CREG0
#define LPC18XX_CREG_CREG0_USB0PHY

struct lpc18xx_usb_otg_phy {};

static int lpc18xx_usb_otg_phy_init(struct phy *phy)
{}

static int lpc18xx_usb_otg_phy_exit(struct phy *phy)
{}

static int lpc18xx_usb_otg_phy_power_on(struct phy *phy)
{}

static int lpc18xx_usb_otg_phy_power_off(struct phy *phy)
{}

static const struct phy_ops lpc18xx_usb_otg_phy_ops =;

static int lpc18xx_usb_otg_phy_probe(struct platform_device *pdev)
{}

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

static struct platform_driver lpc18xx_usb_otg_phy_driver =;
module_platform_driver();

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