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