1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * SuperH Video Output Unit (VOU) driver heade 2 * SuperH Video Output Unit (VOU) driver header 4 * 3 * 5 * Copyright (C) 2010, Guennadi Liakhovetski < 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. 6 */ 9 */ 7 #ifndef SH_VOU_H 10 #ifndef SH_VOU_H 8 #define SH_VOU_H 11 #define SH_VOU_H 9 12 10 #include <linux/i2c.h> 13 #include <linux/i2c.h> 11 14 12 /* Bus flags */ 15 /* Bus flags */ 13 #define SH_VOU_PCLK_FALLING (1 << 0) 16 #define SH_VOU_PCLK_FALLING (1 << 0) 14 #define SH_VOU_HSYNC_LOW (1 << 1) 17 #define SH_VOU_HSYNC_LOW (1 << 1) 15 #define SH_VOU_VSYNC_LOW (1 << 2) 18 #define SH_VOU_VSYNC_LOW (1 << 2) 16 19 17 enum sh_vou_bus_fmt { 20 enum sh_vou_bus_fmt { 18 SH_VOU_BUS_8BIT, 21 SH_VOU_BUS_8BIT, 19 SH_VOU_BUS_16BIT, 22 SH_VOU_BUS_16BIT, 20 SH_VOU_BUS_BT656, 23 SH_VOU_BUS_BT656, 21 }; 24 }; 22 25 23 struct sh_vou_pdata { 26 struct sh_vou_pdata { 24 enum sh_vou_bus_fmt bus_fmt; 27 enum sh_vou_bus_fmt bus_fmt; 25 int i2c_adap; 28 int i2c_adap; 26 struct i2c_board_info *board_info; 29 struct i2c_board_info *board_info; 27 unsigned long flags; 30 unsigned long flags; 28 }; 31 }; 29 32 30 #endif 33 #endif 31 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.