media: ths7353: add support for ths7353 video amplifier
PATCH v4 1/1 media: ths7353: add support for ths7353 video amplifier
From: Lad, Prabhakar <[email protected]>
The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver.
This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This patch also adds V4L2_IDENT_THS7353 for the THS7353 chip and appropriate changes to Kconfig file for building.
---
Changes for v4:
1: Fixed review comments pointed out by Mauro.
Changes for v3:
1: Fixed review comments pointed out by Hans.
Changes for v2:
1: Merged the driver in existing ths7303 driver.
2: Merged the patch which adds the chip indent in same patch.
drivers/media/i2c/Kconfig | 6 +- drivers/media/i2c/ths7303.c | 351 ++++++++++++++++++++++++++++++++------- include/media/ths7303.h | 42 +++++ include/media/v4l2-chip-ident.h | 3 + 4 files changed, 340 insertions(+), 62 deletions(-) create mode 100644 include/media/ths7303.h
drivers/media/i2c/Kconfig +3 -3
@@ -550,10 +550,10 @@ config VIDEO_UPD64083 comment "Miscelaneous helper chips" config VIDEO_THS7303 - tristate "THS7303 Video Amplifier" - depends on I2C + tristate "THS7303/53 Video Amplifier" + depends on VIDEO_V4L2 && I2C help - Support for TI THS7303 video amplifier + Support for TI THS7303/53 video amplifier To compile this driver as a module, choose M here: the module will be called ths7303.
drivers/media/i2c/ths7303.c +292 -59
475 lines not on this page · raw message
include/media/ths7303.h new file +42 -0
42 lines not on this page · raw message
include/media/v4l2-chip-ident.h +3 -0
@@ -180,6 +180,9 @@ enum {/* module adv7343: just ident 7343 */ V4L2_IDENT_ADV7343 =7343 , +/* module ths7353: just ident 7353 */ +V4L2_IDENT_THS7353 =7353 , +/* module adv7393: just ident 7393 */ V4L2_IDENT_ADV7393 = 7393,
Signature · 1 line
1.7.4.1