Linux 4.6-rc6
[cris-mirror.git] / include / media / i2c / mt9t112.h
bloba43c74ab05ec6d42f541298bd3cef597abd7ce8c
1 /* mt9t112 Camera
3 * Copyright (C) 2009 Renesas Solutions Corp.
4 * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #ifndef __MT9T112_H__
12 #define __MT9T112_H__
14 #define MT9T112_FLAG_PCLK_RISING_EDGE (1 << 0)
15 #define MT9T112_FLAG_DATAWIDTH_8 (1 << 1) /* default width is 10 */
17 struct mt9t112_pll_divider {
18 u8 m, n;
19 u8 p1, p2, p3, p4, p5, p6, p7;
23 * mt9t112 camera info
25 struct mt9t112_camera_info {
26 u32 flags;
27 struct mt9t112_pll_divider divider;
30 #endif /* __MT9T112_H__ */