From a266086cea49049b3896c9b8cbdef81e1d37c9ce Mon Sep 17 00:00:00 2001 From: Andrei Andreyanau Date: Wed, 20 Feb 2013 11:12:55 +0300 Subject: Added header file for mt9v024 camera that defines camera's features new file: include/linux/platform_data/mt9v02x.h Signed-off-by: Christian Hemp --- include/linux/platform_data/mt9v02x.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include/linux/platform_data/mt9v02x.h (limited to 'include') diff --git a/include/linux/platform_data/mt9v02x.h b/include/linux/platform_data/mt9v02x.h new file mode 100644 index 000000000000..033c80943461 --- /dev/null +++ b/include/linux/platform_data/mt9v02x.h @@ -0,0 +1,28 @@ +/* --*- c -*-- + * Copyright (C) 2012 Enrico Scholz + * + * 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; version 2 and/or 3 of the License. + * + * 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, see . + */ + +#ifndef H_LINUX_PLATFORM_DATA_MT9V02X_H +#define H_LINUX_PLATFORM_DATA_MT9V02X_H + +#define MT9V02X_FEATURE_MONO (0u << 24) +#define MT9V02X_FEATURE_COLOR (1u << 24) + +#define MT9V02X_FEATURE_LVDS (1u << 23) +#define MT9V02X_FEATURE_LVDS_10BIT (1u << 26) + +#define MT9V02X_FEATURE_SKIP_PROBE (1u << 25) + +#endif /* H_LINUX_PLATFORM_DATA_MT9V02X_H */ -- cgit v1.2.3