summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc2580.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-04-14 19:52:16 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 15:45:06 -0300
commit6802fc0b8126d8e2e5e982a9772d757e61e47c72 (patch)
tree5f34b4eb4bfb282c31d0efc8ce1fdefb59d7115f /drivers/media/tuners/fc2580.h
parent0fae1997f09796aca8ada5edc028aef587f6716c (diff)
[media] fc2580: implement I2C client bindings
Add I2C client bindings to driver. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/fc2580.h')
-rw-r--r--drivers/media/tuners/fc2580.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/media/tuners/fc2580.h b/drivers/media/tuners/fc2580.h
index b1ce6770f88e..5679e44980f9 100644
--- a/drivers/media/tuners/fc2580.h
+++ b/drivers/media/tuners/fc2580.h
@@ -24,6 +24,21 @@
#include <linux/kconfig.h>
#include "dvb_frontend.h"
+/*
+ * I2C address
+ * 0x56, ...
+ */
+
+/**
+ * struct fc2580_platform_data - Platform data for the fc2580 driver
+ * @clk: Clock frequency (0 = internal clock).
+ * @dvb_frontend: DVB frontend.
+ */
+struct fc2580_platform_data {
+ u32 clk;
+ struct dvb_frontend *dvb_frontend;
+};
+
struct fc2580_config {
/*
* I2C address