Commit | Line | Data |
---|---|---|
a81fb9b2 GL |
1 | /* |
2 | * SuperH Video Output Unit (VOU) driver header | |
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 | #ifndef SH_VOU_H | |
11 | #define SH_VOU_H | |
12 | ||
13 | #include <linux/i2c.h> | |
14 | ||
15 | /* Bus flags */ | |
16 | #define SH_VOU_PCLK_FALLING (1 << 0) | |
17 | #define SH_VOU_HSYNC_LOW (1 << 1) | |
18 | #define SH_VOU_VSYNC_LOW (1 << 2) | |
19 | ||
20 | enum sh_vou_bus_fmt { | |
21 | SH_VOU_BUS_8BIT, | |
22 | SH_VOU_BUS_16BIT, | |
23 | SH_VOU_BUS_BT656, | |
24 | }; | |
25 | ||
26 | struct sh_vou_pdata { | |
27 | enum sh_vou_bus_fmt bus_fmt; | |
28 | int i2c_adap; | |
29 | struct i2c_board_info *board_info; | |
30 | unsigned long flags; | |
a81fb9b2 GL |
31 | }; |
32 | ||
33 | #endif |