Toshiba HDMI to CSI2 bridge

I have a Toshiba 358840 HDMI to CSI2 bridge, the input and output format following:
input: RGB888, YCbCr422, YCbCr444
output: RGB888, pRGB666, lpRGB666, YCbCr444, YCbCr422-16bit, YCbCr422-24bit

Currently I set Toshiba bridge format including 1080p60, input RGB888, output RGB888, and following imx135_v4l2 driver to implement, but when I set V4L2_MBUS_FMT_RGB888_1X24 (driver) and V4L2_PIX_FMT_RGB24(tegra_camera), the TK1 system will breakdown when start the cheese application.

Is it color pattern problem? or any ideas for this implementation?

" the TK1 system will breakdown when start the cheese application.
=> what do you mean by TK1 system will breakdown? Does it hang? What is the cheese application? What does it do?

Hi chuang

Cheese is Ubuntu software, it can open about camera devices from note “/dev/video0”.

The Toshiba bridge has internal voltage, reset, mclk, just need only i2c command, it will output mipi signal.

First I checked the edid, framesize, hotplug, color format are correct, and mipi have output signal.
Second, enable stream by open /dev/video0 like cheese and vlc, enter s_stream, then as you said, it will hand the system, log as following

[   35.708393] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000010
[   35.716640] TEGRA_CSI_CSI_CILA_STATUS 0x00040041
[   35.730527] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000010
[   35.944322] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000010
[   35.949430] TEGRA_CSI_CSI_CILA_STATUS 0x00040041
[   35.959518] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000010
[   36.169245] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000010
[   36.174425] TEGRA_CSI_CSI_CILA_STATUS 0x00040041
[   36.184508] TEGRA_CSI_CSI_CIL_B_HSTATUS 0x00000010
[   39.940236] Host write timeout at address 40000000
[   39.946234] Host write timeout at address 40000000
[   39.957233] Host write timeout at address 40000000

Thanks.

$ apt-cache show cheese
Package: cheese
Priority: optional
Section: universe/gnome
[...]
Description-en: tool to take pictures and videos from your webcam
 A webcam application that supports image and video capture. Makes
 it easy to take photos and videos of you, your friends, pets or whatever
 you want. Allows you to apply fancy visual effects, fine-control image
 settings and has features such as Multi-Burst mode, Countdown timer
 for photos.
Homepage: http://projects.gnome.org/cheese/

Thanks kulve for provided information.

where did you buy the chip and what was the price?

I borrow bridge board from Toshiba agents.

Hi
I want to modify IMX135 driver for Toshiba 358840 Bridge( HDMI to CSI)
but I just only change the slave address 0x10 to 0x0f in as below.

profiles {
			imx135_1: imx135@2_000f {
				index = <1>;
				chipname = "pcl_IMX135";
				type = "sensor";
				guid = "s_IMX135";
				position = <0>;
				bustype = "i2c";
				busnum = <2>;
				addr = <0x0f>;
				datalen = <2>;
				pinmuxgrp = <0xFFFF>;
				gpios = <3>;
				regulators = "vana", "vdig_lv", "vif";
				clocks = "mclk";
				drivername = "imx135";
				detect = <0x0002 0x0016 0xFFFF 0x0135>;
				devid = <0x0135>;
				poweron = <
					CAMERA_IND_CLK_SET(10000)
					CAMERA_GPIO_CLR(221)
					CAMERA_GPIO_CLR(219)
					CAMERA_WAITUS(10)
					CAMERA_REGULATOR_ON(2)
					CAMERA_REGULATOR_ON(1)
					CAMERA_REGULATOR_ON(0)
					CAMERA_WAITMS(5)
					CAMERA_GPIO_SET(221)
					CAMERA_GPIO_SET(219)
					CAMERA_WAITUS(300)
					CAMERA_END
					>;
				poweroff = <
					CAMERA_IND_CLK_CLR
					CAMERA_GPIO_CLR(221)
					CAMERA_GPIO_CLR(219)
					CAMERA_WAITUS(10)
					CAMERA_REGULATOR_OFF(2)
					CAMERA_REGULATOR_OFF(1)
					CAMERA_REGULATOR_OFF(0)
					CAMERA_END
					>;
			};

It could not dispatch the driver probe. (the device(bus2,slave0xf) has response)

so, back connect to IMX135 sensor device and slave 0x10
I only change the value of detect = <0x0002 0x0016 0xFFFF 0x0135>;
It also could not into probe.
Does anyone know what does it mean that detect value.
What detect value for the Toshiba 358840 ?

“borrow” one for me too :D

We have only one… we will layout Toshiba HDMI to CSI adapter future if Toshiba bridge can work on JTK1
there isn’t available driver at present, I still try to porting Toshiba HDMI to CSI bridge on JTK1 right now.
Did you know how to porting bridge? I use imx135_v4l2 architecture to implement, haven’t more information.

I would play around with this if i would have the hardware. I wanted to do this thing for a long time but didn’t get enough information about the bridge. So I guess I could make my own board but it would be better if I can get my hands on a ready made board.

Do you know if toshiba sells these?

@rmamba
Sorry, I don’t know if toshiba sells these, I can’t get information about it.

Is there available driver for Toshiba HDMI to CSI2 bridge?
There is some news about available driver on Tegra X1, does anyone can give me some point how to porting the driver?

Hi yumeng,
Any latest update on the Toshiba’s 358840 HDMI to csi-2 bridge? driver and hardware.

Hi usaarizona
We have a plan to layout a Toshiba bridge daughter board on TX1.
But I’m not sure the exact date, and we haven’t available driver.

Hi,

we have done a successful hardware design of an CSI2 Bridge for the TK-1 which contains an Toshiba Chip 358840 for a customer project. Currently the hardware is ready and contains all PCB components as well the PINS connectors, its fully working. The software driver support for the TK-1 is still missing. If you are TK1 developer, please reply if you want to support us for creating the drivers.

Cause this project is not a exclusive development and we will produce the a first bunch of 100 items for the customer, I can order an bigger PCB panel and produce more then 100 items.

If there are +10 boards, then i can make the panels. Let me know if you want to have one. You can get pricing when you write me an email over our contact company site:

http://rebotnix.com/contact2/

Here is a screenshot of the TK1 HDMI INPUT board:
http://rebotnix.com/temp/tk1shot1.jpg

Hi,

we have done a successful hardware design of an CSI2 Bridge for the TK-1 which contains an Toshiba Chip 358840 for a customer project. Currently the hardware is ready and contains all PCB components as well the PINS connectors, its fully working. The software driver support for the TK-1 is still missing. If you are TK1 developer, please reply if you want to support us for creating the drivers.

Cause this project is not a exclusive development and we will produce the a first bunch of 100 items for the customer, I can order an bigger PCB panel and produce more then 100 items.

If there are +10 boards, then i can make the panels. Let me know if you want to have one. You can get pricing when you write me an email over our contact company site:

http://rebotnix.com/contact2/

Here is a screenshot of the TK1 HDMI INPUT board:
http://rebotnix.com/temp/tk1shot1.jpg

ff

Hi Gray,
The biggest feature of Toshiba chip 358840 is 4k@30 supported, Data amount is up to 7.2 Gbps as described, so 24bps RGB888 format should be supported in that data rate, and also DS required dual CSI-2 interface and each link should supports 4 data lines@ 1Gbps, and for the Jetson, 4 lines of CSI1 and only 1 line of CSI2 are available on board, so is your demo board support 4K input? Thank you.

Kevin

Hi, Yumeng,
Who is your local FAE, are you locate in US? we also want to have one of those development board, thank you.