spi-atmel.c (5878cf431ca7233a56819ca6970153ac0b129599) | spi-atmel.c (bcd2360c1ff9fff69eb45bedc5fba7240c6da875) |
---|---|
1/* 2 * Driver for Atmel AT32 and AT91 SPI Controllers 3 * 4 * Copyright (C) 2006 Atmel Corporation 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 5 unchanged lines hidden (view full) --- 14#include <linux/module.h> 15#include <linux/platform_device.h> 16#include <linux/delay.h> 17#include <linux/dma-mapping.h> 18#include <linux/err.h> 19#include <linux/interrupt.h> 20#include <linux/spi/spi.h> 21#include <linux/slab.h> | 1/* 2 * Driver for Atmel AT32 and AT91 SPI Controllers 3 * 4 * Copyright (C) 2006 Atmel Corporation 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 5 unchanged lines hidden (view full) --- 14#include <linux/module.h> 15#include <linux/platform_device.h> 16#include <linux/delay.h> 17#include <linux/dma-mapping.h> 18#include <linux/err.h> 19#include <linux/interrupt.h> 20#include <linux/spi/spi.h> 21#include <linux/slab.h> |
22#include <linux/platform_data/atmel.h> |
|
22 23#include <asm/io.h> | 23 24#include <asm/io.h> |
24#include <mach/board.h> | |
25#include <asm/gpio.h> 26#include <mach/cpu.h> 27 28/* SPI register offsets */ 29#define SPI_CR 0x0000 30#define SPI_MR 0x0004 31#define SPI_RDR 0x0008 32#define SPI_TDR 0x000c --- 1051 unchanged lines hidden --- | 25#include <asm/gpio.h> 26#include <mach/cpu.h> 27 28/* SPI register offsets */ 29#define SPI_CR 0x0000 30#define SPI_MR 0x0004 31#define SPI_RDR 0x0008 32#define SPI_TDR 0x000c --- 1051 unchanged lines hidden --- |