xref: /openbmc/linux/include/media/i2c/ak881x.h (revision a06c488d)
1 /*
2  * Header for AK8813 / AK8814 TV-ecoders from Asahi Kasei Microsystems Co., Ltd. (AKM)
3  *
4  * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
5  *
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  */
10 
11 #ifndef AK881X_H
12 #define AK881X_H
13 
14 #define AK881X_IF_MODE_MASK	(3 << 0)
15 #define AK881X_IF_MODE_BT656	(0 << 0)
16 #define AK881X_IF_MODE_MASTER	(1 << 0)
17 #define AK881X_IF_MODE_SLAVE	(2 << 0)
18 #define AK881X_FIELD		(1 << 2)
19 #define AK881X_COMPONENT	(1 << 3)
20 
21 struct ak881x_pdata {
22 	unsigned long flags;
23 };
24 
25 #endif
26