xref: /openbmc/linux/include/media/i2c/mt9t112.h (revision f220d3eb)
1 /*  SPDX-License-Identifier: GPL-2.0 */
2 /* mt9t112 Camera
3  *
4  * Copyright (C) 2009 Renesas Solutions Corp.
5  * Kuninori Morimoto <morimoto.kuninori@renesas.com>
6  */
7 
8 #ifndef __MT9T112_H__
9 #define __MT9T112_H__
10 
11 struct mt9t112_pll_divider {
12 	u8 m, n;
13 	u8 p1, p2, p3, p4, p5, p6, p7;
14 };
15 
16 /**
17  * mt9t112_platform_data -	mt9t112 driver interface
18  * @flags:			Sensor media bus configuration.
19  * @divider:			Sensor PLL configuration
20  */
21 struct mt9t112_platform_data {
22 #define MT9T112_FLAG_PCLK_RISING_EDGE	BIT(0)
23 	u32 flags;
24 	struct mt9t112_pll_divider divider;
25 };
26 
27 #endif /* __MT9T112_H__ */
28