Path: blob/master/arch/arm/mach-pxa/include/mach/camera.h
10820 views
/*1camera.h - PXA camera driver header file23Copyright (C) 2003, Intel Corporation4Copyright (C) 2008, Guennadi Liakhovetski <[email protected]>56This program is free software; you can redistribute it and/or modify7it under the terms of the GNU General Public License as published by8the Free Software Foundation; either version 2 of the License, or9(at your option) any later version.1011This program is distributed in the hope that it will be useful,12but WITHOUT ANY WARRANTY; without even the implied warranty of13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14GNU General Public License for more details.1516You should have received a copy of the GNU General Public License17along with this program; if not, write to the Free Software18Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.19*/2021#ifndef __ASM_ARCH_CAMERA_H_22#define __ASM_ARCH_CAMERA_H_2324#define PXA_CAMERA_MASTER 125#define PXA_CAMERA_DATAWIDTH_4 226#define PXA_CAMERA_DATAWIDTH_5 427#define PXA_CAMERA_DATAWIDTH_8 828#define PXA_CAMERA_DATAWIDTH_9 0x1029#define PXA_CAMERA_DATAWIDTH_10 0x2030#define PXA_CAMERA_PCLK_EN 0x4031#define PXA_CAMERA_MCLK_EN 0x8032#define PXA_CAMERA_PCP 0x10033#define PXA_CAMERA_HSP 0x20034#define PXA_CAMERA_VSP 0x4003536struct pxacamera_platform_data {37unsigned long flags;38unsigned long mclk_10khz;39};4041extern void pxa_set_camera_info(struct pxacamera_platform_data *);4243#endif /* __ASM_ARCH_CAMERA_H_ */444546