From 7e449f27f9eeb457a36bcdb18fb4aaeb642e40b1 Mon Sep 17 00:00:00 2001 From: Rishikesh Donadkar Date: Tue, 10 Dec 2024 18:35:38 +0530 Subject: [PATCH] docs: Update CSI-RX docs for AM62, AM62P and AM62A 1. Add table to list down latest SDK supported sensors and daughter boards 2. Add command to apply overlay for OV2312 connected to the DS90UB954-Q1 EVM 3. Add documentation for OV5640 + Arducam V3Link (Fusion Mini) support on SK-AM62P Signed-off-by: Rishikesh Donadkar --- .../Kernel/Kernel_Drivers/Camera/CSI2RX.rst | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.rst b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.rst index 267c9187f..ec37059a2 100644 --- a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.rst +++ b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.rst @@ -220,6 +220,12 @@ Enabling camera sensors |__PART_FAMILY_NAME__| SK supports the following 15-pin FFC compatible camera modules with **OV5640** sensor: +.. ifconfig:: CONFIG_part_variant in ('AM62PX') + + Arducam V3Link (Fusion Mini) board can also be used to connect these camera modules to SK-AM62P over FPDLink cable. + +.. ifconfig:: CONFIG_part_variant in ('AM62X','AM62PX') + 1. TEVI-OV5640-\*-RPI 2. Digilent PCam5C 3. ALINX AN5641 @@ -241,6 +247,20 @@ Enabling camera sensors => setenv name_overlays ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo => boot +.. ifconfig:: CONFIG_part_variant in ('AM62PX') + + .. code-block:: text + + # For connecting Digilent PCam5C or ALINX AN5641 on V3Link fusion's RX Port 0: + => setenv name_overlays ti/k3-am62x-sk-csi2-v3link-fusion.dtbo ti/k3-v3link-ov5640-0-0.dtbo + => boot + + # For connecting Technexion TEVI-OV5640 on V3Link fusion's RX Port 0: + => setenv name_overlays ti/k3-am62x-sk-csi2-v3link-fusion.dtbo ti/k3-v3link-tevi-ov5640-0-0.dtbo + => boot + +.. ifconfig:: CONFIG_part_variant in ('AM62X','AM62PX') + Once the overlay is applied, you can confirm that the sensor is being probed by checking the output of :command:`lsmod` or the media graph: @@ -435,6 +455,38 @@ Enabling camera sensors To re-build the kernel with above changes you can refer to the :ref:`Users Guide `. +.. ifconfig:: CONFIG_part_variant in ('AM62X') + + CSI2RX testing details + ====================== + + Following sensors have been tested with the latest SDK. + + +-------------------------------+---------------------------------------+-----------------------------------+ + | Hardware | Sensor | Default format and resolution | + +-------------------------------+---------------------------------------+-----------------------------------+ + | SK-AM62 | IMX219 RPi Camera | SRGGB8_1X8/1920x1080 at 30 fps | + +-------------------------------+---------------------------------------+-----------------------------------+ + | SK-AM62 | OV5640 MIPI CSI Camera | YUYV8_1X16/640x480 at 30 fps | + +-------------------------------+---------------------------------------+-----------------------------------+ + +.. ifconfig:: CONFIG_part_variant in ('AM62PX') + + CSI2RX testing details + ====================== + + Following sensors and daughter cards have been tested with the latest SDK. + + +-------------------------------+---------------------------------------+-----------------------------------+ + | Hardware | Sensor | Default format and resolution | + +-------------------------------+---------------------------------------+-----------------------------------+ + | SK-AM62P | IMX219 RPi Camera | SRGGB8_1X8/1920x1080 at 30 fps | + +-------------------------------+---------------------------------------+-----------------------------------+ + | SK-AM62P | OV5640 MIPI CSI Camera | YUYV8_1X16/640x480 at 30 fps | + +-------------------------------+---------------------------------------+-----------------------------------+ + | SK-AM62P | V3Link (Fusion Mini) board, OV5640 | YUYV8_1X16/640x480 at 30 fps | + +-------------------------------+---------------------------------------+-----------------------------------+ + .. ifconfig:: CONFIG_part_variant in ('AM62AX') SK-AM62A supports the following FPDLink cameras using fusion board: **IMX390, @@ -466,6 +518,10 @@ Enabling camera sensors => setenv name_overlays ti/k3-am62a7-sk-fusion.dtbo ti/k3-fpdlink-ov2312-0-0.dtbo => boot + # For OV2312 connected on DS90UB954-Q1 RX Port 0: + => setenv name_overlays ti/k3-am62a7-sk-ub954-evm.dtbo ti/k3-fpdlink-ov2312-0-0.dtbo + => boot + # For RCM IMX390 connected on Fusion board RX Port 0: => setenv name_overlays ti/k3-am62a7-sk-fusion.dtbo ti/k3-fpdlink-imx390-rcm-0-0.dtbo => boot @@ -670,6 +726,29 @@ Enabling camera sensors sink_1::startx="<640>" sink_1::starty="<480>" sink_1::widths="<640>" sink_1::heights="<480>" ! \ queue ! kmssink driver-name=tidss plane-properties=s,zpos=1 + CSI2RX testing details + ====================== + + Following sensors and daughter cards have been tested with the latest SDK. + + +--------------+---------------------------------------+-----------------------------------+ + | Hardware | Sensor | Default format and resolution | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | IMX219 RPi Camera | SRGGB8_1X8/1920x1080 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | FPDLink fusion EVM, IMX390 | SRGGB12_1X12/1936x1100 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | FPDLink fusion EVM, OV2312 | SBGGI10_1X10/1600x1300 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | V3Link (Fusion Mini) board, IMX219 | SRGGB8_1X8/1920x1080 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | V3Link (Fusion Mini) board, IMX390 | SRGGB12_1X12/1936x1100 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | V3Link (Fusion Mini) board, OV2312 | SBGGI10_1X10/1600x1300 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + | SK-AM62A | DS90UB954-Q1 EVM, OV2312 | SBGGI10_1X10/1600x1300 at 30 fps | + +--------------+---------------------------------------+-----------------------------------+ + .. ifconfig:: CONFIG_part_variant in ('J721E') J721E has two instances of CSI2RX capture subsystem and can support upto