linux/drivers/phy/phy-lgm-usb.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Intel LGM USB PHY driver
 *
 * Copyright (C) 2020 Intel Corporation.
 */

#include <linux/bitfield.h>
#include <linux/delay.h>
#include <linux/iopoll.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/reset.h>
#include <linux/usb/phy.h>
#include <linux/workqueue.h>

#define CTRL1_OFFSET
#define SRAM_EXT_LD_DONE
#define SRAM_INIT_DONE

#define TCPC_OFFSET
#define TCPC_MUX_CTL
#define MUX_NC
#define MUX_USB
#define MUX_DP
#define MUX_USBDP
#define TCPC_FLIPPED
#define TCPC_LOW_POWER_EN
#define TCPC_VALID
#define TCPC_CONN
#define TCPC_DISCONN

static const char *const PHY_RESETS[] =;
static const char *const CTL_RESETS[] =;

struct tca_apb {};

static int get_flipped(struct tca_apb *ta, bool *flipped)
{}

static int phy_init(struct usb_phy *phy)
{}

static void phy_shutdown(struct usb_phy *phy)
{}

static int phy_set_vbus(struct usb_phy *phy, int on)
{}

static void tca_work(struct work_struct *work)
{}

static int id_notifier(struct notifier_block *nb, unsigned long event, void *ptr)
{}

static int vbus_notifier(struct notifier_block *nb, unsigned long evnt, void *ptr)
{}

static int phy_probe(struct platform_device *pdev)
{}

static void phy_remove(struct platform_device *pdev)
{}

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

static struct platform_driver lgm_phy_driver =;

module_platform_driver();

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