WIP FPC-III support
[linux/fpc-iii.git] / include / media / drv-intf / sh_vou.h
blob8d23181a5972fbc731fba43f64e519807ad8a780
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * SuperH Video Output Unit (VOU) driver header
5 * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
6 */
7 #ifndef SH_VOU_H
8 #define SH_VOU_H
10 #include <linux/i2c.h>
12 /* Bus flags */
13 #define SH_VOU_PCLK_FALLING (1 << 0)
14 #define SH_VOU_HSYNC_LOW (1 << 1)
15 #define SH_VOU_VSYNC_LOW (1 << 2)
17 enum sh_vou_bus_fmt {
18 SH_VOU_BUS_8BIT,
19 SH_VOU_BUS_16BIT,
20 SH_VOU_BUS_BT656,
23 struct sh_vou_pdata {
24 enum sh_vou_bus_fmt bus_fmt;
25 int i2c_adap;
26 struct i2c_board_info *board_info;
27 unsigned long flags;
30 #endif