summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/fc2580.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-04-15 00:52:16 +0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-18 20:45:06 +0200
commit6802fc0b8126d8e2e5e982a9772d757e61e47c72 (patch)
tree5f34b4eb4bfb282c31d0efc8ce1fdefb59d7115f /drivers/media/tuners/fc2580.h
parent[media] dib0700: avoid the risk of forgetting to add the adapter's size (diff)
downloadlinux-6802fc0b8126d8e2e5e982a9772d757e61e47c72.tar.xz
linux-6802fc0b8126d8e2e5e982a9772d757e61e47c72.zip
[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