linux/drivers/usb/isp1760/isp1760-core.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Driver for the NXP ISP1760 chip
 *
 * Copyright 2021 Linaro, Rui Miguel Silva
 * Copyright 2014 Laurent Pinchart
 * Copyright 2007 Sebastian Siewior
 *
 * Contacts:
 *	Sebastian Siewior <[email protected]>
 *	Laurent Pinchart <[email protected]>
 *	Rui Miguel Silva <[email protected]>
 */

#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/slab.h>
#include <linux/usb.h>

#include "isp1760-core.h"
#include "isp1760-hcd.h"
#include "isp1760-regs.h"
#include "isp1760-udc.h"

static int isp1760_init_core(struct isp1760_device *isp)
{}

void isp1760_set_pullup(struct isp1760_device *isp, bool enable)
{}

/*
 * ISP1760/61:
 *
 * 60kb divided in:
 * - 32 blocks @ 256  bytes
 * - 20 blocks @ 1024 bytes
 * -  4 blocks @ 8192 bytes
 */
static const struct isp1760_memory_layout isp176x_memory_conf =;

/*
 * ISP1763:
 *
 * 20kb divided in:
 * - 8 blocks @ 256  bytes
 * - 2 blocks @ 1024 bytes
 * - 4 blocks @ 4096 bytes
 */
static const struct isp1760_memory_layout isp1763_memory_conf =;

static const struct regmap_range isp176x_hc_volatile_ranges[] =;

static const struct regmap_access_table isp176x_hc_volatile_table =;

static const struct regmap_config isp1760_hc_regmap_conf =;

static const struct reg_field isp1760_hc_reg_fields[] =;

static const struct reg_field isp1763_hc_reg_fields[] =;

static const struct regmap_range isp1763_hc_volatile_ranges[] =;

static const struct regmap_access_table isp1763_hc_volatile_table =;

static const struct regmap_config isp1763_hc_regmap_conf =;

static const struct regmap_range isp176x_dc_volatile_ranges[] =;

static const struct regmap_access_table isp176x_dc_volatile_table =;

static const struct regmap_config isp1761_dc_regmap_conf =;

static const struct reg_field isp1761_dc_reg_fields[] =;

static const struct regmap_range isp1763_dc_volatile_ranges[] =;

static const struct regmap_access_table isp1763_dc_volatile_table =;

static const struct reg_field isp1763_dc_reg_fields[] =;

static const struct regmap_config isp1763_dc_regmap_conf =;

int isp1760_register(struct resource *mem, int irq, unsigned long irqflags,
		     struct device *dev, unsigned int devflags)
{}

void isp1760_unregister(struct device *dev)
{}

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