]> git.ipfire.org Git - people/arne_f/kernel.git/blob - include/media/blackfin/bfin_capture.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[people/arne_f/kernel.git] / include / media / blackfin / bfin_capture.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BFIN_CAPTURE_H_
3 #define _BFIN_CAPTURE_H_
4
5 #include <linux/i2c.h>
6
7 struct v4l2_input;
8 struct ppi_info;
9
10 struct bcap_route {
11 u32 input;
12 u32 output;
13 u32 ppi_control;
14 };
15
16 struct bfin_capture_config {
17 /* card name */
18 char *card_name;
19 /* inputs available at the sub device */
20 struct v4l2_input *inputs;
21 /* number of inputs supported */
22 int num_inputs;
23 /* routing information for each input */
24 struct bcap_route *routes;
25 /* i2c bus adapter no */
26 int i2c_adapter_id;
27 /* i2c subdevice board info */
28 struct i2c_board_info board_info;
29 /* ppi board info */
30 const struct ppi_info *ppi_info;
31 /* ppi control */
32 unsigned long ppi_control;
33 /* ppi interrupt mask */
34 u32 int_mask;
35 /* horizontal blanking pixels */
36 int blank_pixels;
37 };
38
39 #endif