v4l: TI THS7303 video amplifier driver code
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.
Signed-off-by Chaithrika U S <[email protected]>
Reviewed-by Hans Verkuil <[email protected]>
Signed-off-by Hans Verkuil <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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