add camera files

This commit is contained in:
ddl
2010-07-30 18:39:46 +08:00
parent 89c0a4a7c6
commit 8ff5f9dffe
3 changed files with 3553 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/*
camera.h - PXA camera driver header 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 as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __ASM_ARCH_CAMERA_H_
#define __ASM_ARCH_CAMERA_H_
#define RK28_CAM_DRV_NAME "rk2818-camera"
#define RK28_CAM_PLATFORM_DEV_ID 33
struct rk28camera_gpio_res {
unsigned int gpio_reset;
unsigned int gpio_power;
unsigned int gpio_flag;
const char *dev_name;
};
struct rk28camera_platform_data {
int (*init)(void);
int (*deinit)(void);
struct rk28camera_gpio_res gpio_res[2];
};
#endif /* __ASM_ARCH_CAMERA_H_ */

2453
drivers/media/video/ov2655.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff