1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * FCI FC2580 silicon tuner driver
4  *
5  * Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
6  */
7 
8 #ifndef FC2580_H
9 #define FC2580_H
10 
11 #include <media/dvb_frontend.h>
12 #include <media/v4l2-subdev.h>
13 #include <linux/i2c.h>
14 
15 /*
16  * I2C address
17  * 0x56, ...
18  */
19 
20 /**
21  * struct fc2580_platform_data - Platform data for the fc2580 driver
22  * @clk: Clock frequency (0 = internal clock).
23  * @dvb_frontend: DVB frontend.
24  * @get_v4l2_subdev: Get V4L2 subdev.
25  */
26 struct fc2580_platform_data {
27 	u32 clk;
28 	struct dvb_frontend *dvb_frontend;
29 
30 	struct v4l2_subdev* (*get_v4l2_subdev)(struct i2c_client *);
31 };
32 
33 #endif
34