Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / media / sh_vou.h
blobec3ba9a597a28b9873852e80e9d81c0e8bdd0cbc
1 /*
2 * SuperH Video Output Unit (VOU) driver header
4 * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
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
13 #include <linux/i2c.h>
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)
20 enum sh_vou_bus_fmt {
21 SH_VOU_BUS_8BIT,
22 SH_VOU_BUS_16BIT,
23 SH_VOU_BUS_BT656,
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;
33 #endif