Driver for Toshiba TC358743 CSI-2 to HDMI bridge
Subsystems (2)
From: Mats Randgaard <[email protected]>
Hi,
I have finally finished the second RFC for this driver.
Changes since RFC01:
- Improved code based on feedback from Hans and Philipp. For the CSI parameters have I only written a set of values that can serve as a starting point, since calculation of the parameters in the driver will require more work.
- Fixed problem with some sources that are transmitting an unstable signal while they are in standby.
- Fixed problem where audio was not received from some sources after coming out of standby, reconnecting cable or stopping/starting the stream.
- When the stream is enabled a proper lane transition is triggered on the CSI interface to ensure that the CSI receiver is ready.
- All CE and IT formats are detected as RGB full quantization range in DVI mode.
Philipp, I have not had time to look at your patches, so maybe you can rebase them on this version of the driver?
Mats Randgaard (1):
Driver for Toshiba TC358743 CSI-2 to HDMI bridge
MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 9 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tc358743.c | 1838 ++++++++++++++++++++++++++++++++++++ drivers/media/i2c/tc358743_regs.h | 680 +++++++++++++ include/media/tc358743.h | 92 ++ include/uapi/linux/v4l2-controls.h | 4 + 7 files changed, 2630 insertions(+) create mode 100644 drivers/media/i2c/tc358743.c create mode 100644 drivers/media/i2c/tc358743_regs.h create mode 100644 include/media/tc358743.h
Signature · 1 line
2.3.4
From: Mats Randgaard <[email protected]>
The driver is tested on our hardware and all the implemented features works as expected.
Missing features:
- CEC support
- HDCP repeater support
- IR support
--- MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 9 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/tc358743.c | 1838 ++++++++++++++++++++++++++++++++++++ drivers/media/i2c/tc358743_regs.h | 680 +++++++++++++ include/media/tc358743.h | 92 ++ include/uapi/linux/v4l2-controls.h | 4 + 7 files changed, 2630 insertions(+) create mode 100644 drivers/media/i2c/tc358743.c create mode 100644 drivers/media/i2c/tc358743_regs.h create mode 100644 include/media/tc358743.h
MAINTAINERS +6 -0
@@ -9856,6 +9856,12 @@ L: [email protected] S: Orphan F: drivers/platform/x86/toshiba_acpi.c +TOSHIBA TC358743 DRIVER +M: Mats Randgaard <[email protected]> +L: [email protected] +S: Maintained +F: drivers/media/i2c/tc358743* + TOSHIBA SMM DRIVER M: Jonathan Buzzard <[email protected]> L: [email protected]
drivers/media/i2c/Kconfig +9 -0
@@ -285,6 +285,15 @@ config VIDEO_SAA711X To compile this driver as a module, choose M here: the module will be called saa7115. +config VIDEO_TC358743 + tristate "Toshiba TC358743 decoder" + depends on VIDEO_V4L2 && I2C + ---help--- + Support for the Toshiba TC358743 HDMI to MIPI CSI-2 bridge + + To compile this driver as a module, choose M here: the + module will be called tc358743. + config VIDEO_TVP514X tristate "Texas Instruments TVP514x video decoder" depends on VIDEO_V4L2 && I2C
drivers/media/i2c/Makefile +1 -0
@@ -78,3 +78,4 @@ obj-$(CONFIG_VIDEO_AK881X) += ak881x.o obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o obj-$(CONFIG_VIDEO_ML86V7667) += ml86v7667.o obj-$(CONFIG_VIDEO_OV2659) += ov2659.o +obj-$(CONFIG_VIDEO_TC358743) += tc358743.o
drivers/media/i2c/tc358743.c new file +1838 -0
1,838 lines not on this page · raw message
drivers/media/i2c/tc358743_regs.h new file +680 -0
680 lines not on this page · raw message
include/media/tc358743.h new file +92 -0
92 lines not on this page · raw message
include/uapi/linux/v4l2-controls.h +4 -0
@@ -174,6 +174,10 @@ enum v4l2_colorfx {* We reserve 16 controls for this driver. */ #define V4L2_CID_USER_ADV7180_BASE (V4L2_CID_USER_BASE + 0x1070) +/* The base for the tc358743 driver controls. +* We reserve 16 controls for this driver. */ +#define V4L2_CID_USER_TC358743_BASE (V4L2_CID_USER_BASE + 0x1080) +/* MPEG-class control IDs */ /* The MPEG controls are applicable to all codec controls * and the 'MPEG' part of the define is historical */
Signature · 1 line
2.3.4