![Arnd Bergmann](/assets/img/avatar_default.png)
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the davinci include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Acked-by: Felipe Balbi <balbi@ti.com> Cc: Sekhar Nori <nsekhar@ti.com> Cc: Kevin Hilman <khilman@ti.com> Cc: "Ben Dooks" <ben-linux@fluff.org> Cc: "Wolfram Sang" <w.sang@pengutronix.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Liam Girdwood <lrg@ti.com> Cc: davinci-linux-open-source@linux.davincidsp.com
37 lines
780 B
C
37 lines
780 B
C
/*
|
|
* TI DaVinci AEMIF support
|
|
*
|
|
* Copyright 2010 (C) Texas Instruments, Inc. http://www.ti.com/
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
#ifndef _MACH_DAVINCI_AEMIF_H
|
|
#define _MACH_DAVINCI_AEMIF_H
|
|
|
|
#define NRCSR_OFFSET 0x00
|
|
#define AWCCR_OFFSET 0x04
|
|
#define A1CR_OFFSET 0x10
|
|
|
|
#define ACR_ASIZE_MASK 0x3
|
|
#define ACR_EW_MASK BIT(30)
|
|
#define ACR_SS_MASK BIT(31)
|
|
|
|
/* All timings in nanoseconds */
|
|
struct davinci_aemif_timing {
|
|
u8 wsetup;
|
|
u8 wstrobe;
|
|
u8 whold;
|
|
|
|
u8 rsetup;
|
|
u8 rstrobe;
|
|
u8 rhold;
|
|
|
|
u8 ta;
|
|
};
|
|
|
|
int davinci_aemif_setup_timing(struct davinci_aemif_timing *t,
|
|
void __iomem *base, unsigned cs);
|
|
#endif
|