linux/drivers/i2c/busses/i2c-at91-core.c

// SPDX-License-Identifier: GPL-2.0
/*
 *  i2c Support for Atmel's AT91 Two-Wire Interface (TWI)
 *
 *  Copyright (C) 2011 Weinmann Medical GmbH
 *  Author: Nikolaus Voss <[email protected]>
 *
 *  Evolved from original work by:
 *  Copyright (C) 2004 Rick Bronson
 *  Converted to 2.6 by Andrew Victor <[email protected]>
 *
 *  Borrowed heavily from original work by:
 *  Copyright (C) 2000 Philip Edelbrock <[email protected]>
 */

#include <linux/clk.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/pinctrl/consumer.h>

#include "i2c-at91.h"

unsigned at91_twi_read(struct at91_twi_dev *dev, unsigned reg)
{}

void at91_twi_write(struct at91_twi_dev *dev, unsigned reg, unsigned val)
{}

void at91_disable_twi_interrupts(struct at91_twi_dev *dev)
{}

void at91_twi_irq_save(struct at91_twi_dev *dev)
{}

void at91_twi_irq_restore(struct at91_twi_dev *dev)
{}

void at91_init_twi_bus(struct at91_twi_dev *dev)
{}

static struct at91_twi_pdata at91rm9200_config =;

static struct at91_twi_pdata at91sam9261_config =;

static struct at91_twi_pdata at91sam9260_config =;

static struct at91_twi_pdata at91sam9g20_config =;

static struct at91_twi_pdata at91sam9g10_config =;

static const struct platform_device_id at91_twi_devtypes[] =;

#if defined(CONFIG_OF)
static struct at91_twi_pdata at91sam9x5_config =;

static struct at91_twi_pdata sama5d4_config =;

static struct at91_twi_pdata sama5d2_config =;

static struct at91_twi_pdata sam9x60_config =;

static const struct of_device_id atmel_twi_dt_ids[] =;
MODULE_DEVICE_TABLE(of, atmel_twi_dt_ids);
#endif

static struct at91_twi_pdata *at91_twi_get_driver_data(
					struct platform_device *pdev)
{}

static int at91_twi_probe(struct platform_device *pdev)
{}

static void at91_twi_remove(struct platform_device *pdev)
{}

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

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

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

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

static const struct dev_pm_ops __maybe_unused at91_twi_pm =;

static struct platform_driver at91_twi_driver =;

static int __init at91_twi_init(void)
{}

static void __exit at91_twi_exit(void)
{}

subsys_initcall(at91_twi_init);
module_exit(at91_twi_exit);

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