License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / include / media / blackfin / bfin_capture.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
63b1a90d
SJ
2#ifndef _BFIN_CAPTURE_H_
3#define _BFIN_CAPTURE_H_
4
5#include <linux/i2c.h>
6
7struct v4l2_input;
8struct ppi_info;
9
10struct bcap_route {
11 u32 input;
12 u32 output;
45b82596 13 u32 ppi_control;
63b1a90d
SJ
14};
15
16struct 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;
45b82596
SJ
35 /* horizontal blanking pixels */
36 int blank_pixels;
63b1a90d
SJ
37};
38
39#endif