mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
82906b13a6
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 imx 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: Sascha Hauer <kernel@pengutronix.de> Acked-by: Vinod Koul <vinod.koul@linux.intel.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Dan Williams <djbw@fb.com> Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org> Cc: "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Alan Cox <alan@linux.intel.com> Cc: Felipe Balbi <balbi@ti.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Liam Girdwood <lrg@ti.com> Cc: Javier Martin <javier.martin@vista-silicon.com> Cc: Shawn Guo <shawn.guo@linaro.org> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
36 lines
1.0 KiB
C
36 lines
1.0 KiB
C
/*
|
|
* mx1_camera.h - i.MX1/i.MXL camera driver header file
|
|
*
|
|
* Copyright (c) 2008, Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
|
|
* Copyright (C) 2009, Darius Augulis <augulis.darius@gmail.com>
|
|
*
|
|
* Based on PXA camera.h file:
|
|
* Copyright (C) 2003, Intel Corporation
|
|
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_CAMERA_H_
|
|
#define __ASM_ARCH_CAMERA_H_
|
|
|
|
#define MX1_CAMERA_DATA_HIGH 1
|
|
#define MX1_CAMERA_PCLK_RISING 2
|
|
#define MX1_CAMERA_VSYNC_HIGH 4
|
|
|
|
extern unsigned char mx1_camera_sof_fiq_start, mx1_camera_sof_fiq_end;
|
|
|
|
/**
|
|
* struct mx1_camera_pdata - i.MX1/i.MXL camera platform data
|
|
* @mclk_10khz: master clock frequency in 10kHz units
|
|
* @flags: MX1 camera platform flags
|
|
*/
|
|
struct mx1_camera_pdata {
|
|
unsigned long mclk_10khz;
|
|
unsigned long flags;
|
|
};
|
|
|
|
#endif /* __ASM_ARCH_CAMERA_H_ */
|