linux/drivers/usb/misc/usb4604.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Driver for SMSC USB4604 USB HSIC 4-port 2.0 hub controller driver
 * Based on usb3503 driver
 *
 * Copyright (c) 2012-2013 Dongjin Kim ([email protected])
 * Copyright (c) 2016 Linaro Ltd.
 */

#include <linux/i2c.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/gpio/consumer.h>

enum usb4604_mode {};

struct usb4604 {};

static void usb4604_reset(struct usb4604 *hub, int state)
{}

static int usb4604_connect(struct usb4604 *hub)
{}

static int usb4604_switch_mode(struct usb4604 *hub, enum usb4604_mode mode)
{}

static int usb4604_probe(struct usb4604 *hub)
{}

static int usb4604_i2c_probe(struct i2c_client *i2c)
{}

static int __maybe_unused usb4604_i2c_suspend(struct device *dev)
{}

static int __maybe_unused usb4604_i2c_resume(struct device *dev)
{}

static SIMPLE_DEV_PM_OPS(usb4604_i2c_pm_ops, usb4604_i2c_suspend,
		usb4604_i2c_resume);

static const struct i2c_device_id usb4604_id[] =;
MODULE_DEVICE_TABLE(i2c, usb4604_id);

#ifdef CONFIG_OF
static const struct of_device_id usb4604_of_match[] =;
MODULE_DEVICE_TABLE(of, usb4604_of_match);
#endif

static struct i2c_driver usb4604_i2c_driver =;
module_i2c_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();