Skip to contentSkip to conversation

v4l: TI THS7303 video amplifier driver code

PATCH New [email protected] 1 participant 1 message May 7, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 v4l: TI THS7303 video amplifier driver code

From: Chaithrika U S <[email protected]>

This patch adds driver for TI THS7303 video amplifier. This driver is implemented as a v4l2 sub device. Tested on TI DM646x EVM.

This version has updates based on review comments by Mauro Chehab.

---
 drivers/media/video/Kconfig     |    9 +++
 drivers/media/video/Makefile    |    1 +
 drivers/media/video/ths7303.c   |  151 +++++++++++++++++++++++++++++++++++++++
 include/media/v4l2-chip-ident.h |    3 +
 4 files changed, 164 insertions(+), 0 deletions(-)
 create mode 100644 drivers/media/video/ths7303.c
drivers/media/video/Kconfig +9 -0
index 9d48da2..f99348c 100644
@@ -440,6 +440,15 @@ config VIDEO_ADV7175
 	  To compile this driver as a module, choose M here: the
 	  module will be called adv7175.
 
+config VIDEO_THS7303
+	tristate "THS7303 Video Amplifier"
+	depends on I2C
+	help
+	  Support for TI THS7303 video amplifier
+
+	  To compile this driver as a module, choose M here: the
+	  module will be called ths7303.
+
 comment "Video improvement chips"
 
 config VIDEO_UPD64031A
drivers/media/video/Makefile +1 -0
index 7aefac6..352dd6d 100644
@@ -54,6 +54,7 @@ obj-$(CONFIG_VIDEO_BT819) += bt819.o
 obj-$(CONFIG_VIDEO_BT856) += bt856.o
 obj-$(CONFIG_VIDEO_BT866) += bt866.o
 obj-$(CONFIG_VIDEO_KS0127) += ks0127.o
+obj-$(CONFIG_VIDEO_THS7303) += ths7303.o
 
 obj-$(CONFIG_VIDEO_ZORAN) += zoran/
 
drivers/media/video/ths7303.c new file +151 -0

151 lines not on this page · raw message

include/media/v4l2-chip-ident.h +3 -0
index 1be461a..fbeb98f 100644
@@ -137,6 +137,9 @@ enum {
 	/* module saa7191: just ident 7191 */
 	V4L2_IDENT_SAA7191 = 7191,
 
+	/* module ths7303: just ident 7303 */
+	V4L2_IDENT_THS7303 = 7303,
+
 	/* module wm8739: just ident 8739 */
 	V4L2_IDENT_WM8739 = 8739,
 
Signature · 1 line
1.5.6