diff options
author | Andrei Andreyanau <a.andreyanau@sam-solutions.net> | 2013-02-20 11:12:55 +0300 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2013-11-07 12:19:24 -0500 |
commit | a266086cea49049b3896c9b8cbdef81e1d37c9ce (patch) | |
tree | b5db91b89fe730c4420123f563f469e4137122aa /include | |
parent | f9a23ec9f4af84b9a8d26bc51c5205da9bda3a99 (diff) |
Added header file for mt9v024 camera that defines camera's features new file: include/linux/platform_data/mt9v02x.h
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/mt9v02x.h | 28 |
1 files changed, 28 insertions, 0 deletions
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 <enrico.scholz@sigma-chemnitz.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; 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 <http://www.gnu.org/licenses/>. + */ + +#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 */ |