I am using a camera using a Toshiba bridge (the camera provides parallel so Toshiba bridge does parallel to MIPI conversion).
I am using a custom board with Jetson TX2 NX and I want to avoid as much as possible the ISP in the TX2 NX.
My questions are:
How should I configure the Jetson device tree to support such sensor? should I put it as RAW12, is that supported in TX2 NX?
The Toshiba bridge sends the RAW 12 as 2 pixels packed as 3 bytes (seems to me to be as defined by the MIPI standard) is this mode supported by the TX2 NX?
Is there a mode where I can just have the VI/CSI parts take the data sent via MIPI and just dump it using v4l2-ctl without any interpretation of the content (and don’t do debayer/etc.)?
(1) please refer to Camera Architecture Stack, you may going through v4l2src to bypass internal ISP.
(2) Raw12 is supported, you may download TX2 TRM to check [27.10 PIXFMT] for the support input formats.
(3) as mentioned by (1), you may calling v4l2 directly. here’s sample pipeline for reference. $ v4l2-ctl -d /dev/video0 --set-fmt-video=width=2592,height=1944,pixelformat=RG10 --set-ctrl bypass_mode=0 --stream-mmap --stream-count=1 --stream-to=test.raw
That is the memory format which is after it goes trough nvcsi, vi and pixfmt.
I am asking what goes over MIPI (and read by nvcsi), over mipi RAW12 is sent as 3 bytes for 2 pixels. You said that it isn’t supported in TX2 NX which means that it doesn’t support RAW12.
you may visit linux-tegra-r3275 to download [Driver Package (BSP) Sources].
here’re reference drivers, $public_sources/kernel_src/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-modules/tegra186-camera-imx185-a00.dtsi $public_sources/kernel_src/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-modules/tegra186-camera-imx390-a00.dtsi