Xavier TC358743

Hello,

The TC358743 got some attention on the Jetson Nano and I want to use it on the Jetson Xavier NX.

I compiled the driver into the kernel and tried to adjust the device tree. Yet I cannot see a dmesg output for any detected devices on the I2C bus. Running i2cdetect I can see the device residing at 0x0F.

root@steep-desktop:~# i2cdetect -y -r 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – 0f

I used this thread as a reference: No captured data from v4l2 driver (TC358743) - #11 by electrixoul

The I2C Bus I adjusted to is 3180000 which is described as cam_i2c in the device tree of the Xavier. I’m mainly working in the p3886 files of the t19x architecture.

Are there any tips how I can see more debugging messages of what is going on?

I am trying to use “tegra194-camera-imx185-a00.dtsi” as a reference for the design of my device tree file

/*
 * Copyright (c) 2018-2020, NVIDIA CORPORATION.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#include <dt-bindings/media/camera.h>

#define CAM0_PWDN	TEGRA194_MAIN_GPIO(P, 4)
#define CAM1_PWDN	TEGRA194_MAIN_GPIO(P, 5)

/ {
	host1x {
   vi@15c10000 {
        num-channels = <1>;  // Change 4->2
        ports {
            #address-cells = <1>;
            #size-cells = <0>;

            vi_port1: port@0 {
                status = "okay";
                reg = <0>;
                tc358743_vi_in1: endpoint {
                    status = "okay";
                    port-index = <0>;  /* CSI-B */
                    bus-width = <2>; /* Use CSI-B only */
                    remote-endpoint = <&tc358743_csi_out0>;
                };
            };
        };
    };


    nvcsi@15a00000 {
        num-channels = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        channel@0 {
            reg = <0>;
            ports {
                #address-cells = <1>;
                #size-cells = <0>;
                port@0 {
                    status = "okay";
                    reg = <0>;
                    tc358743_csi_in0: endpoint@0 {
                        status = "okay";
                        port-index = <0>;
                        bus-width = <2>;
                        remote-endpoint = <&tc358743_out1>;
                    };
                };
                port@1 {
                    reg = <1>;
                    status = "okay";
                    tc358743_csi_out0: endpoint@1 {
                        status = "okay";
                        remote-endpoint = <&tc358743_vi_in1>;
                    };
                };
            };
        };
    };

    i2c@3180000 {  /* I2C_PM, "adapter" 6 */
        status = "okay";
        #address-cells = <1>;
        #size-cells = <0>;
        tc358743@0f {
            status = "okay";
            compatible = "tc358743";
            reg = <0x0f>; /* shifted by 2 */
            // The Cam_I2C clock is "divclock"
            // I don't know wheter this changed from jetson
            // Or wheter the entry "cam_mclk1" is still correct
            mclk = "cam_mclk1";
            // I am assuming the CAM_PWDN pins were used?
            reset-gpios = <CAM1_PWDN>;
            refclk_hz = <27000000>;  // refclk_hz -> regclk

            //interrupt-parent = <&tegra_aon_gpio>;
            // What was this assigned to?
            //interrupts = <TEGRA_GPIO(E, 6) GPIO_ACTIVE_HIGH>;

            /* Physical dimensions of sensor */
            physical_w = "4.713";
            physical_h = "3.494";
            /* Sensor Model */
            sensor_model ="tc358743";
            
   

            ddc5v_delay = <2>;
            enable_hdcp = "false";
            lineinitcnt = <0xe80>;
            lptxtimecnt = <0x003>;
            tclk_headercnt = <0x1403>;
            tclk_trailcnt = <0x00>;
            ths_headercnt = <0x0103>;
            twakeup = <0x4882>;
            tclk_postcnt = <0x008>;
            ths_trailcnt = <0x02>;
            hstxvregcnt = <0>;

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;
                    tc358743_out1: endpoint {
                        port-index = <0>; /* CSI B */
                        bus-width = <2>; /* Use CSI-B only */
                        data-lanes = <1 2>;
                        clock-lanes = <0>;
                        clock-noncontinuous;
                        link-frequencies = /bits/ 64 <297000000>;
                        remote-endpoint = <&tc358743_csi_in0>;
                    };
                };
            };
        };
    };
  };
};


/ {

tegra-camera-platform {
  status = "okay";
	compatible = "nvidia, tegra-camera-platform";
	num_csi_lanes = <2>;  // Changed 2 -> 4
	max_lane_speed = <1500000>;
	min_bits_per_pixel = <10>;  // Changed 16 -> 10
	vi_peak_byte_per_pixel = <2>;
	vi_bw_margin_pct = <25>;
	max_pixel_rate = <750000>;
	isp_peak_byte_per_pixel = <5>;
	isp_bw_margin_pct = <25>;

    	/**
	* The general guideline for naming badge_info contains 3 parts, and is as follows,
	* The first part is the camera_board_id for the module; if the module is in a FFD
	* platform, then use the platform name for this part.
	* The second part contains the position of the module, ex. “rear” or “front”.
	* The third part contains the last 6 characters of a part number which is found
	* in the module's specsheet from the vender.
	*/
	modules {

	    module1 {
	        status = "okay";
	        badge = "tc358743_top_i2c6_b";
	        position = "front";
	        orientation = "1";
	        drivernode0 {
	            status = "okay";
	            /* Declare PCL support driver (classically known as guid)  */
	            pcl_id = "v4l2_sensor";
	            /* Driver's v4l2 device name */
	            devname = "tc358743 6-000f";
	            /* Declare the device-tree hierarchy to driver instance */
	            proc-device-tree = "/proc/device-tree/host1x/i2c@3180000/tc358743@0f";
	        };
	    };
        
	};
};
};

hello lukas.bockel,

please refer to developer guide, there’s Applications Using V4L2 IOCTL Directly. you may use V4L2 IOCTL to verify basic functionality during sensor bring-up.
please also check Debugging Tips session to examine your sensor drivers.
thanks

1 Like

Hello Jerry,

The Problem is before the /dev/video device is being created as such I cannot reference the V4L2 document.

I managed to get the device tree working as far as errors being produced. The TC358743 driver is looking for a 26Mhz/27Mhz reference clock. I’ve been referencing this document Tegra Linux Driver

Yet, I cannot find the values which clocks support which range and which clock is suitable to my application, given I am very much new to the topic of the device tree.

Could you help me with a few pointers how to find the propper clock source?

While we’re at it do you happen to know which pins I should use for the CAM0 / CAM1 interrupt lines?

hello lukas.bockel,

please access NVIDIA Jetson Nano and Jetson Xavier NX Camera Design Guide via download center.
you may refer to [Developer Kit Carrier Board Camera Connector] for the signal name and its pin.
thanks

Hi @lukas.bockel ,
Did you solve this issue?

Greetings
I too am trying to use the tc358743 driver on the Xavier NX with a HDMI to CSI-2 bridge board.

So far not getting very far. I too can see the device with i2cdetect.

Any updates?

@edward.dow did you have any progress?

I’m also working on getting the tc358743 to work on the NX…

From the camera design guide, I can see that CSI-0 and CSI-1 have swapped position between the Jetson Nano and the jetson NX, so that might course some problems, but have not had any luck changing CSI lanes in the device tree.

@mmkunzendorf

A little bit but not much. I believe I am at about the same point as yager.project in this thread:

In summary, when I load the driver I get this:

[ 2940.187536] OF: /i2c@3180000/tc358743@0f: could not get #gpio-cells for /host1x/gpio@6000d000
[ 2940.187723] tc358743 2-000f: failed to get reset gpio
[ 2940.187901] tc358743: probe of 2-000f failed with error -22

I’m not too sure what this means but I’m trying to figure it out.

Where are you at with your development?

By the way… I first ran across this issue:
[ 3.444432] tc358743 2-000f: failed to get refclk: -2
[ 3.444617] tc358743: probe of 2-000f failed with error -2

I had to modify the driver code in tc358743.c and hardcode the refclk to 27000000 (27 MHz). I got that info from the yager.project thread posted early. And this seems to jive with the spec sheet from Toshiba here (page 10)

I also found out something interesting too with the system. You can run the following command and see various clocks and the status. I’m thinking you could use one of these to define the refclk in the tc358743.c but I’m not sure.

cat /sys/kernel/debug/bpmp/debug/clk/clk_tree

Here’s the nvidia page: Tegra Linux Driver

@edward.dow

Im pretty much the same place as you are.

I have the tc358743 working on my Jetson Nano, but cant make it work on my NX.

My gist here , with notes in the readme on how I got it working on the Nano.

This error:
[ 2940.187536] OF: /i2c@3180000/tc358743@0f: could not get #gpio-cells for /host1x/gpio@6000d000

From the pinmux spreadsheet, I found that this: gpio@6000d000 is the register address for the Jetson Nano, and that the gpio register address for NX is: gpio@22000000, however I’m still getting same error doing startup.

@mmkunzendorf

I was hoping by the time I heard back you would have it all working.

Thank you for the information on the gpio register addresses. I was wondering what that number represented. I’m going to try that and see what happens.

Here’s where I’m at:

I added the “#gpio-cells = <2>;” in my “tegra194-xavier-tc358743.dtsi” . That got rid of the gpio error.
https://patchwork.kernel.org/project/linux-arm-kernel/patch/1459848697-21006-1-git-send-email-petr@barix.com/

gpio: gpio@6000d000 {
#gpio-cells = <2>;
camera-control-output-low {
gpio-hog;
output-low;
gpios = < CAM1_PWDN 0 >;
label = “cam1-pwdn”;
};
};

I also swapped out the tc358743.c file with the one this guy used. The tc358743_regs.h and tc358743.h files were identical as the original ones.
https://gist.github.com/nyacg/becd94a029355825a05f633f38a25b46
was using as I kept running into issues with various stuff.

Here’s what I got doing a ‘dmesg|grep tc358743’. So it looks like it’s talking to the chip, but I still don’t have a /dev/video0.

[ 3.306263] tc358743 2-000f: chip found @0xf (3180000.i2c)
[ 3.306272] tc358743 2-000f: Device Tree Parameters:
[ 3.306292] tc358743 2-000f: reset_gpio = -517
[ 3.306296] tc358743 2-000f: refclk_hz = 27000000
[ 3.306306] tc358743 endpoint->bus.mipi_csi2.flags 512
[ 3.306309] tc358743 endpoint->bus.mipi_csi2.clock_lane 0
[ 3.306312] tc358743 endpoint->bus.mipi_csi2.num_data_lanes 2
[ 3.306315] tc358743 endpoint->bus.mipi_csi2.data_lanes [1-2-0-0]
[ 3.306318] tc358743 endpoint->nr_of_link_frequencies 1
[ 3.306322] tc358743 state->pdata.pll_prd=4
[ 3.306325] tc358743 state->pdata.pll_fbd=88
[ 3.306329] tc358743 2-000f: Subdev init done
[ 3.306772] tc358743 2-000f: Chip ID val: 0
[ 3.306777] tc358743 2-000f: ctrl handler initied
[ 3.306792] tc358743 2-000f: A bunch of new cutoms done
[ 3.307344] tc358743 2-000f: Controls updated
[ 3.307480] tc358743 2-000f: Work queue created
[ 3.307484] tc358743 2-000f: About to call tegra_media_entity_init
[ 3.307488] tc358743 2-000f: tegra_media_entity_init complete
[ 3.307491] tc358743 2-000f: Set mbus_fmt_code in probe to: 8207
[ 3.307496] tc358743 2-000f: About to register subdev
[ 3.307502] tc358743 2-000f: Register subdev: 0
[ 3.307505] tc358743 2-000f: before tc358743_initial_setup
[ 3.314432] tc358743 2-000f: tc358743_set_hdmi_hdcp: disable
[ 3.320940] tc358743 2-000f: after tc358743_initial_setup
[ 3.320947] tc358743 2-000f: tc358743_set_csi_color_space: YCbCr 422 16-bit
[ 3.322131] tc358743 2-000f: before tc358743_s_dv_timings
[ 3.322137] tc358743 2-000f: tc358743_s_dv_timings
[ 3.322142] tc358743 2-000f: enable_stream: disable
[ 3.322658] tc358743 2-000f: 792:enable_stream: end
[ 3.323094] tc358743 2-000f: tc358743_set_pll:
[ 3.323099] tc358743 2-000f: tc358743_set_pll: updating PLL clock
[ 3.325305] tc358743 2-000f: tc358743_set_csi:
[ 3.330173] tc358743 2-000f: before tc358743_init_interrupts, irq: 0
[ 3.334287] tc358743 2-000f: after tc358743_init_interrupts, irq: 0
[ 3.334291] tc358743 2-000f: tc358743_enable_interrupts: cable connected = 1
[ 3.335201] tc358743 2-000f: tc358743 found @0xf (3180000.i2c)
[ 3.335205] tc358743 2-000f: tc358743_s_edid, pad 0, start block 0, blocks 2
[ 3.335207] tc358743 2-000f: tc358743_disable_edid:
[ 3.342406] tc358743 2-000f: tc358743_enable_edid
[ 3.342414] tc358743 2-000f: tc358743_enable_edid:
[ 3.342420] tc358743 2-000f: tc358743_enable_interrupts: cable connected = 1
[ 3.343359] tc358743 2-000f: tc358743_enable_edid completed successfully
[ 3.343364] tc358743 2-000f: tc358743_s_edid completed successfully
[ 3.343370] tc358743 2-000f: Calling tc358743_g_edid
*[ 3.350019] tc358743 2-000f: EDID_RAM has 256 byte from: 0x8c00 to 0x8d00 *
[ 3.350026] tc358743 2-000f: tc358743_g_edid completed successfully
[ 3.350590] tc358743 2-000f: -----Chip status-----
[ 3.350795] tc358743 2-000f: Chip ID:0x00
[ 3.351000] tc358743 2-000f: Chip revision:0x00
[ 3.351003] tc358743 2-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0
[ 3.351007] tc358743 2-000f: Sleep mode: off
[ 3.351010] tc358743 2-000f: Cable detected (+5V power): no
[ 3.351184] tc358743 2-000f: DDC lines enabled: yes
[ 3.351362] tc358743 2-000f: Hotplug enabled: no
[ 3.351574] tc358743 2-000f: CEC enabled: no
[ 3.351578] tc358743 2-000f: -----Signal status-----
[ 3.351581] tc358743 2-000f: TMDS signal detected: no
[ 3.351584] tc358743 2-000f: Stable sync signal: no
[ 3.351587] tc358743 2-000f: PHY PLL locked: no
[ 3.351590] tc358743 2-000f: PHY DE detected: no
[ 3.351773] tc358743 2-000f: tc358743_get_detected_timings: no valid signal
[ 3.351777] tc358743 2-000f: No video detected
[ 3.351782] tc358743 2-000f: Configured format: 1920x1080p60.0 (2200x1125)
[ 3.351786] tc358743 2-000f: horizontal: fp = 88, +sync = 44, bp = 148
[ 3.351790] tc358743 2-000f: vertical: fp = 4, +sync = 5, bp = 36
[ 3.351794] tc358743 2-000f: pixelclock: 148500000
[ 3.351800] tc358743 2-000f: flags (0x12): CAN_REDUCE_FPS CE_VIDEO
[ 3.351804] tc358743 2-000f: standards (0x3): CEA DMT
[ 3.351807] tc358743 2-000f: -----CSI-TX status-----
[ 3.351810] tc358743 2-000f: Lanes needed: 4
[ 3.352064] tc358743 2-000f: Lanes in use: 4
[ 3.352266] tc358743 2-000f: Waiting for particular sync signal: no
[ 3.352469] tc358743 2-000f: Transmit mode: no
[ 3.352695] tc358743 2-000f: Receive mode: no
[ 3.352905] tc358743 2-000f: Stopped: no
[ 3.352910] tc358743 2-000f: Color space: YCbCr 422 16-bit
[ 3.353096] tc358743 2-000f: -----DVI-D status-----
[ 3.353100] tc358743 2-000f: HDCP encrypted content: no
[ 3.353104] tc358743 2-000f: Input color space: RGB full range
[ 3.353284] tc358743 2-000f: Probe complete
[ 3.446125] tc358743 2-000f: tc358743_delayed_work_enable_hotplug:

I also notice that when I connect HDMI with a signal I get. It is valid as I can see it on tv/capture card:

[ 536.945031] tc358743 2-000f: -----Signal status-----
[ 536.945035] tc358743 2-000f: TMDS signal detected: yes
[ 536.945039] tc358743 2-000f: Stable sync signal: no
[ 536.945044] tc358743 2-000f: PHY PLL locked: yes
[ 536.945048] tc358743 2-000f: PHY DE detected: yes
[ 536.945391] tc358743 2-000f: tc358743_get_detected_timings: no sync on signal
[ 536.945395] tc358743 2-000f: No video detected

I did try with the new register for the gpio but I still get the same results.

@mmkunzendorf

I feel like I’m getting really close.

After you mentioned changing the gpio register address because it is different between the Nano and Xavier, I looked at the .dtsi file and saw some other potential issues.
I looked at the “tegra194-camera-rbpcv2-imx219.dtsi” to see what addresses were being used and made some changes.

    • Changed the vi node to: vi@15c10000
    • Changed the nvcsi node to: nvcsi@15a00000
    • Also in i2c@3180000 node I uncommented devnode =“video0”;

Now upon reboot I see the /dev/video0

I can plug an HDMI source into the device run the following and get meaningful output

v4l2-ctl --log-status

Status Log:

  • [ 4358.471265] tegra194-vi5 15c10000.vi: ================= START STATUS =================*
  • [ 4358.471870] tc358743 2-000f: -----Chip status-----*
  • [ 4358.472083] tc358743 2-000f: Chip ID:0x00*
  • [ 4358.472292] tc358743 2-000f: Chip revision:0x00*
  • [ 4358.472325] tc358743 2-000f: Reset: IR: 1, CEC: 1, CSI TX: 0, HDMI: 0*
  • [ 4358.472331] tc358743 2-000f: Sleep mode: off*
  • [ 4358.472335] tc358743 2-000f: Cable detected (+5V power): yes*
  • [ 4358.472522] tc358743 2-000f: DDC lines enabled: yes*
  • [ 4358.472706] tc358743 2-000f: Hotplug enabled: yes*
  • [ 4358.472915] tc358743 2-000f: CEC enabled: no*
  • [ 4358.472920] tc358743 2-000f: -----Signal status-----*
  • [ 4358.472924] tc358743 2-000f: TMDS signal detected: yes*
  • [ 4358.472928] tc358743 2-000f: Stable sync signal: yes*
  • [ 4358.472932] tc358743 2-000f: PHY PLL locked: yes*
  • [ 4358.472936] tc358743 2-000f: PHY DE detected: yes*
  • [ 4358.475445] tc358743 2-000f: 495:tc358743_get_detected_timings: width 1280 heigh 720 interlaced 0*
  • [ 4358.475457] tc358743 2-000f: Detected format: 1280x720p60.0 (1650x750)*
  • [ 4358.475463] tc358743 2-000f: horizontal: fp = 0, -sync = 370, bp = 0*
  • [ 4358.475468] tc358743 2-000f: vertical: fp = 0, -sync = 30, bp = 0*
  • [ 4358.475473] tc358743 2-000f: pixelclock: 74250000*
  • [ 4358.475482] tc358743 2-000f: flags (0x0):*
  • [ 4358.475488] tc358743 2-000f: standards (0x0):*
  • [ 4358.475495] tc358743 2-000f: Configured format: 1280x720p60.0 (1650x750)*
  • [ 4358.475501] tc358743 2-000f: horizontal: fp = 0, -sync = 370, bp = 0*
  • [ 4358.475506] tc358743 2-000f: vertical: fp = 0, -sync = 30, bp = 0*
  • [ 4358.475510] tc358743 2-000f: pixelclock: 74250000*
  • [ 4358.475516] tc358743 2-000f: flags (0x0):*
  • [ 4358.475525] tc358743 2-000f: standards (0x0):*
  • [ 4358.475534] tc358743 2-000f: -----CSI-TX status-----*
  • [ 4358.475539] tc358743 2-000f: Lanes needed: 2*
  • [ 4358.475798] tc358743 2-000f: Lanes in use: 2*
  • [ 4358.476007] tc358743 2-000f: Waiting for particular sync signal: no*
  • [ 4358.476215] tc358743 2-000f: Transmit mode: yes*
  • [ 4358.476445] tc358743 2-000f: Receive mode: no*
  • [ 4358.476663] tc358743 2-000f: Stopped: no*
  • [ 4358.476668] tc358743 2-000f: Color space: YCbCr 422 16-bit*
  • [ 4358.476852] tc358743 2-000f: -----DVI-D status-----*
  • [ 4358.476857] tc358743 2-000f: HDCP encrypted content: no*
  • [ 4358.476862] tc358743 2-000f: Input color space: RGB full range*
  • [ 4358.477047] tegra194-vi5 15c10000.vi: ================== END STATUS ==================*

But if I try and use v4l2 to capture then I get the following in dmesg

v4l2-ctl --device /dev/video0 --stream-mmap --set-fmt-video=width=1280,height=720,pixelformat=UYVY

[ 687.706728] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 687.706884] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 687.707062] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 687.709370] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel

I thought maybe we might need modes in the i2c@3180000 node because in the tegra194-camera-rbpcv2-imx219.dtsi it mentions this:

==== Modes ====
A modeX node is required to support v4l2 driver
implementation with NVIDIA camera software stack

I copied the 720p one from the tegra194-camera-rbpcv2-imx219.dtsi but after I compiled ane reinstalled I got into a kernel panic and it wouldn’t boot.

@edward.dow

Nice work, would it be possible for you to share your tegra194-xavier-tc358743.dtsi?, I was trying to make the changes you describe, but did not make any changes for my dmesg output.

Something I’m still planning to look into, is that according to Jetson_Nano_and_Jetson_Xavier_NX_Camera_Design_Guide_v1.1.pdf J9 is CAM2 on the NX module, and I only gets contact with I2C when connecting to J9, but all the messages tels port 0.

The #gpio-cells = <2> also worked for me, but i think it seems odd with the dmesg output:
*tc358743 2-000f: reset_gpio = -517, woud expsect a positive number.

@mmkunzendorf

Yes, I would be happy to share it.
tegra194-xavier-tc358743.dtsi (5.6 KB)

So on my dev kit carrier board I have CAM0 and CAM1. The CAM2 would be CAM1 I’m thinking? I do have the board plugged into this port.

That’s interesting with the reset_gpio giving a negative number. I hadn’t noticed it. Got too excited when things started working. :-) Thanks for pointing that out. Maybe another reason it’s not working quite right.

I see that I did a mistake first time

gpio@22000000 should actually be gpio@2200000

Hopefully I will have some time to test it tonight

@mmkunzendorf

No worries. Glad you found it. I made the gpio change in the dtsi file but I’m still getting the same thing.

Also, I found this thread where they are doing a similar thing and getting the same errors. But I’m not sure if they ever solved it?

@edward.dow

Did try out your device tree, with the same results as you have.

Guess my next steps will be:
Look into / break device tree on Jetson Nano, to see if it possible get the same no sync signal. That could give an indication what is not working in Xavier NX device tree.

Port Jetson Nano device tree from CAM1 to CAM2. To understand exact device tree Difference between the two ports.

Use pinmux configuration sheet, to understand how reset is configured on the Jetson Nano, found that before I was using the wrong pinmux configuration sheet, there is both one for Jetson nano users, and one for development kit, the one for development is the one to use

@mmkunzendorf

So I noticed something in the dsti file. I included the tegra194-camera-rbpcv2-imx219.dtsi.

#include “tegra194-camera-rbpcv2-imx219.dtsi”

Not sure this is correct. I think I just did this because the tegra194-camera-jakku-rbpcv2-imx219.dtsi had it in there.

I think the dtsi file that I copied from somewhere was for the Nano and had an include for t210.h. But I didn’t want to use that as I was thinking it was specific for the Nano hardware.

I was getting this in dmesg:

misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 1074218 has been capped to VI’s max BW 1000000

Couldn’t find much info on this except about changing values in the device tree.

Figured out “VI’s max BW” can be calculated like this:

max_pixel_rate / 0.4 = Max ISO BW

Where max_pixel_rate can be defined in the tegra-camera-platform node of the device tree/dtsi file

I’m stumped with this. Getting the following in dmesg when I run:

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=720 --stream-mmap --stream-count=1 --set-ctrl bypass_mode=0 --stream-skip=20 --stream-to=ar0231.raw

[ 54.617446] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 54.617611] tegra194-vi5 15c10000.vi: uncorr_err: request timed out after 2500 ms
[ 54.617752] tegra194-vi5 15c10000.vi: err_rec: attempting to reset the capture channel
[ 54.620765] tegra194-vi5 15c10000.vi: err_rec: successfully reset the capture channel

I set up trace logs by doing the following ( run the v4l2-ctrl command to generate trace logs after the set up):
echo 1 > /sys/kernel/debug/tracing/tracing_on
echo 30720 > /sys/kernel/debug/tracing/buffer_size_kb
echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
echo 1 > /sys/kernel/debug/tracing/events/freertos/enable
echo 2 > /sys/kernel/debug/camrtc/log-level
echo 1 > /sys/kernel/debug/tracing/events/camera_common/enable
echo > /sys/kernel/debug/tracing/trace

cat /sys/kernel/debug/tracing/trace

kworker/1:3-2071  [001] ....   163.365538: rtos_queue_peek_from_isr_failed: tstamp:5569808005 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   163.537535: rtos_queue_peek_from_isr_failed: tstamp:5574808005 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   163.649563: rtos_queue_peek_from_isr_failed: tstamp:5579808001 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   163.817558: rtos_queue_peek_from_isr_failed: tstamp:5584808003 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   163.985569: rtos_queue_peek_from_isr_failed: tstamp:5589808005 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   164.153555: rtos_queue_peek_from_isr_failed: tstamp:5594808005 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   164.321528: rtos_queue_peek_from_isr_failed: tstamp:5599808005 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   164.489548: rtos_queue_peek_from_isr_failed: tstamp:5604767472 queue:0x0bcbcf78
        v4l2-ctl-8285  [003] ....   169.412730: tegra_channel_open: vi-output, tc358743 2-000f
        v4l2-ctl-8285  [000] ....   169.415288: tegra_channel_set_power: tc358743 2-000f : 0x1
        v4l2-ctl-8285  [000] ....   169.415293: tegra_channel_set_power: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-8285  [000] ....   169.415296: csi_s_power: enable : 0x1
        v4l2-ctl-8285  [000] ....   169.435571: tegra_channel_capture_setup: vnc_id 0 W 1280 H 720 fmt 13
        v4l2-ctl-8285  [000] ....   169.439309: tegra_channel_set_stream: enable : 0x1
        v4l2-ctl-8285  [000] ....   169.441359: tegra_channel_set_stream: 15a00000.nvcsi--1 : 0x1
        v4l2-ctl-8285  [000] ....   169.441365: csi_s_stream: enable : 0x1
        v4l2-ctl-8285  [000] ....   169.441374: tegra_channel_set_stream: tc358743 2-000f : 0x1
     kworker/1:3-2071  [001] ....   169.473600: rtos_queue_peek_from_isr_failed: tstamp:5760905829 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   169.473607: rtcpu_start: tstamp:5760909316
     kworker/1:3-2071  [001] ....   169.473609: rtos_queue_send_from_isr_failed: tstamp:5760919670 queue:0x0bcb41f8
     kworker/1:3-2071  [001] ....   169.473610: rtos_queue_send_from_isr_failed: tstamp:5760919821 queue:0x0bcb8a60
     kworker/1:3-2071  [001] ....   169.473611: rtos_queue_send_from_isr_failed: tstamp:5760919971 queue:0x0bcba5e0
     kworker/1:3-2071  [001] ....   169.473612: rtos_queue_send_from_isr_failed: tstamp:5760920116 queue:0x0bcbb3a0
     kworker/1:3-2071  [001] ....   169.473613: rtos_queue_send_from_isr_failed: tstamp:5760920263 queue:0x0bcbc160
     kworker/1:3-2071  [001] ....   169.473614: rtcpu_string: tstamp:5760920688 id:0x04010000 str:"Configuring VI GoS.
"
     kworker/1:3-2071  [001] ....   169.473648: rtcpu_string: tstamp:5760920864 id:0x04010000 str:"VM GOS[#0] addr=0xc2100000
"
     kworker/1:3-2071  [001] ....   169.473658: rtcpu_string: tstamp:5760921120 id:0x04010000 str:"VM GOS[#1] addr=0xc2101000
"
     kworker/1:3-2071  [001] ....   169.473669: rtcpu_string: tstamp:5760921387 id:0x04010000 str:"VM GOS[#2] addr=0xc2102000
"
     kworker/1:3-2071  [001] ....   169.473677: rtcpu_string: tstamp:5760921619 id:0x04010000 str:"VM GOS[#3] addr=0xc2103000
"
     kworker/1:3-2071  [001] ....   169.473686: rtcpu_string: tstamp:5760921851 id:0x04010000 str:"VM GOS[#4] addr=0xc2104000
"
     kworker/1:3-2071  [001] ....   169.473694: rtcpu_string: tstamp:5760922083 id:0x04010000 str:"VM GOS[#5] addr=0xc2105000
"
     kworker/1:3-2071  [001] ....   169.473702: rtcpu_string: tstamp:5760930880 id:0x04010000 str:"vi5_hwinit: firmware CL2018101701 protocol vers"
     kworker/1:3-2071  [001] ....   169.473704: rtcpu_string: tstamp:5760930998 id:0x04010000 str:"on 2.2
"
     kworker/1:3-2071  [001] ....   169.473713: rtos_queue_send_from_isr_failed: tstamp:5760946048 queue:0x0bcb41f8
     kworker/1:3-2071  [001] ....   169.473714: rtos_queue_send_from_isr_failed: tstamp:5760946201 queue:0x0bcb8a60
     kworker/1:3-2071  [001] ....   169.473714: rtos_queue_send_from_isr_failed: tstamp:5760946357 queue:0x0bcba5e0
     kworker/1:3-2071  [001] ....   169.473715: rtos_queue_send_from_isr_failed: tstamp:5760946502 queue:0x0bcbb3a0
     kworker/1:3-2071  [001] ....   169.473716: rtos_queue_send_from_isr_failed: tstamp:5760946650 queue:0x0bcbc160
     kworker/1:3-2071  [001] ....   169.473717: rtcpu_string: tstamp:5760947485 id:0x04010000 str:"VI GOS[#0] set to VM GOS[4] base 0xc2104000
"
     kworker/1:3-2071  [001] ....   169.473726: rtos_queue_send_from_isr_failed: tstamp:5761011020 queue:0x0bcb41f8
     kworker/1:3-2071  [001] ....   169.473727: rtos_queue_send_from_isr_failed: tstamp:5761011169 queue:0x0bcb8a60
     kworker/1:3-2071  [001] ....   169.473727: rtos_queue_send_from_isr_failed: tstamp:5761011322 queue:0x0bcba5e0
     kworker/1:3-2071  [001] ....   169.473728: rtos_queue_send_from_isr_failed: tstamp:5761011467 queue:0x0bcbb3a0
     kworker/1:3-2071  [001] ....   169.473729: rtos_queue_send_from_isr_failed: tstamp:5761011613 queue:0x0bcbc160
     kworker/1:3-2071  [001] ....   169.473731: rtcpu_vinotify_event: tstamp:5761471199 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:3961728640 data:0x10000000
     kworker/1:3-2071  [001] ....   169.473732: rtcpu_vinotify_event: tstamp:5761471360 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:3961737024 data:0x31000001
     kworker/1:3-2071  [001] ....   169.473733: rtcpu_vinotify_event: tstamp:5761471527 tag:RESERVED_19 channel:0x23 frame:0 vi_tstamp:3961739168 data:0x07020001
     kworker/1:3-2071  [001] ....   169.473734: rtcpu_vinotify_event: tstamp:5761471663 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:3961773088 data:0x10000000
     kworker/1:3-2071  [001] ....   169.473735: rtcpu_vinotify_event: tstamp:5761471820 tag:RESERVED_18 channel:0x23 frame:0 vi_tstamp:3961781504 data:0x31000002
     kworker/1:3-2071  [001] ....   169.645577: rtos_queue_peek_from_isr_failed: tstamp:5765906187 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   169.813562: rtos_queue_peek_from_isr_failed: tstamp:5770906191 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   169.925546: rtos_queue_peek_from_isr_failed: tstamp:5775906191 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   170.093548: rtos_queue_peek_from_isr_failed: tstamp:5780906191 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   170.261551: rtos_queue_peek_from_isr_failed: tstamp:5785906191 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   170.429551: rtos_queue_peek_from_isr_failed: tstamp:5790906192 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   170.597564: rtos_queue_peek_from_isr_failed: tstamp:5795906190 queue:0x0bcbcf78
     kworker/1:3-2071  [001] ....   170.765555: rtos_queue_peek_from_isr_failed: tstamp:5800906192 queue:0x0bcbcf78

@edward.dow

I was checking the output when using the command to check clock outputs:
cat /sys/kernel/debug/bpmp/debug/clk/clk_tree

root@jetson:/home/jetson# cat /sys/kernel/debug/bpmp/debug/clk/clk_tree
clock                                             on       rate bpmp  mrq vdd
-----------------------------------------------------------------------------
clk_m                                              1   19200000   12    0
    actmon                                         1   19200000    1    1
    cec                                            1   19200000    1    1
    hda2hdmicodec                                  1   19200000    1    1
    kfuse                                          0   19200000    0    0
    mipi_cal                                       0   19200000    0    0
    nvdisplay_p1                                   1   19200000    1    1 vdd_core@586402
    nvdisplay_p2                                   1   19200000    1    1 vdd_core@586402
    pwm3                                           0   19200000    0    0
    pwm5                                           0   19200000    0    0
    pwm6                                           1    6400000    1    1 vdd_core@615222
    rce_cpu_nic                                    1   19200000    2    1
        rce_nic                                    1    4800000    2    1
    sce_cpu_nic                                    1   19200000    1    0
        sce_nic                                    1   19200000    1    0
    sdmmc4                                         0   19200000    0    0
    sor0_ref                                       0   19200000    0    0
    tach                                           1    1010526    1    1 vdd_core@615222
    ufsdev_ref                                     0   19200000    0    0
    sor2_ref                                       0   19200000    0    0
    sor3_ref                                       0   19200000    0    0
    nvdisplay_p3                                   1   19200000    1    1 vdd_core@586402
    nvlink_sys                                     0   19200000    0    0
    nvlink_tx                                      1   19200000    1    0 vdd_nvhs@1000000
        nvlink_rx                                  1   19200000    1    0 vdd_nvhs@1000000
        nvlink_tx_div                              0    9600000    0    0
    tsensor                                        1     400000    1    0 vdd_core@584343
    simon                                          0   19200000    0    0
        simon_v0                                   0   19200000    0    0
        simon_v1                                   0   19200000    0    0
        simon_cv                                   0   19200000    0    0
        simon_gpu                                  0   19200000    0    0
        simon_soc                                  0   19200000    0    0
eqos_rx_input                                      1          0    2    1 vdd_core@615222
    eqos_rx                                        1          0    1    1 vdd_core@615222
i2s1_sync_input                                    0          0    0    0
    dmic1_sync_clk                                 0          0    0    0
    dmic2_sync_clk                                 0          0    0    0
    dmic3_sync_clk                                 0          0    0    0
    dmic4_sync_clk                                 0          0    0    0
    dspk1_sync_clk                                 0          0    0    0
    dspk2_sync_clk                                 0          0    0    0
i2s2_sync_input                                    0          0    0    0
i2s3_sync_input                                    0          0    0    0
i2s4_sync_input                                    0          0    0    0
i2s5_sync_input                                    0    1411200    0    0
i2s6_sync_input                                    0          0    0    0
osc                                                1   38400000   10    0
    emc                                            1 1600000000    2    0 vdd_core@714035
    mphy_tx_1mhz_ref                               0    1010526    0    0
    aon_touch                                      0   38400000    0    0
    dmic5                                          0   38400000    0    0
    mphy_flsm                                      0   38400000    0    0
    uartc                                          1    1828571    1    0
    uartg                                          0   38400000    0    0
    usb2_trk                                       0    9600000    0    0
    fuse_serial                                    1   38400000    2    1
        fuse                                       1   38400000    1    1
            fuse_burn                              0   38400000    0    0
    nafll_bpmp                                     1  294400000    1    0 vdd_core@621398
        bpmp_cpu_nic                               1  294400000    2    0
            bpmp_nic                               1  294400000    1    0
    nafll_sce                                      0  115200000    0    0
    nafll_nvdec                                    0  793600000    0    0
        nvdec                                      0  793600000    0    0
    nafll_nvjpg                                    0  460800000    0    0
        nvjpg                                      0  460800000    0    0
    nafll_tsec                                     0  371200000    0    0
        tsec                                       0  371200000    0    0
    nafll_tsecb                                    0  371200000    0    0
        tsecb                                      0  371200000    0    0
    nafll_vi                                       0  460800000    0    0
        vi                                         0  460800000    0    0
    nafll_se                                       1  601600000    2    0 vdd_core@711976
        se                                         1  601600000    1    1
    nafll_nvenc                                    0  729600000    0    0
        nvenc                                      0  729600000    0    0
    nafll_isp                                      0  576000000    0    0
        isp                                        0  576000000    0    0
    nafll_vic                                      0  115200000    0    0
        vic                                        0  115200000    0    0
    nafll_dla                                      0 1100800000    0    0
        dla0_core_mux                              0 1100800000    0    0
            dla0_core                              0 1100800000    0    0
        dla1_core_mux                              0 1100800000    0    0
            dla1_core                              0 1100800000    0    0
    nafll_pva_core                                 0  601600000    0    0
        pva0_cpu_axi                               0  601600000    0    0
            pva0_axi                               0  601600000    0    0
        pva1_cpu_axi                               0  601600000    0    0
            pva1_axi                               0  601600000    0    0
    nafll_pva_vps                                  0  819200000    0    0
        pva0_vps                                   0  819200000    0    0
            pva0_vps0                              0  819200000    0    0
            pva0_vps1                              0  819200000    0    0
        pva1_vps                                   0  819200000    0    0
            pva1_vps0                              0  819200000    0    0
            pva1_vps1                              0  819200000    0    0
    nafll_cvnas                                    0  576000000    0    0
        cvnas                                      0  576000000    0    0
    nafll_rce                                      0  115200000    0    0
    nafll_nvenc1                                   0  729600000    0    0
        nvenc1                                     0  729600000    0    0
    nafll_dla_falcon                               0  640000000    0    0
        dla0_falcon_mux                            0  640000000    0    0
            dla0_falcon                            0  640000000    0    0
        dla1_falcon_mux                            0  640000000    0    0
            dla1_falcon                            0  640000000    0    0
    nafll_nvdec1                                   0  793600000    0    0
        nvdec1                                     0  793600000    0    0
    nafll_cluster0                                 1 1190400000    1    0 vdd_cpu@642160
    nafll_cluster2                                 1 1190400000    1    0 vdd_cpu@642160
    nafll_cluster3                                 1 1190400000    1    0 vdd_cpu@642160
    i2c10                                          0   38400000    0    0
    tsc                                            1   38400000    1    0
        tsc_ref                                    1   31250000    1    0 vdd_aon@800000
    aon_uart_fst_mipi_cal                          0   38400000    0    0
    dvfs_ref                                       1   38400000    1    0
pll_p                                              1  408000000    5    0
    pllp_out0                                      1  408000000    5    1
        uart_fst_mipi_cal                          0   68000000    0    0
        sdmmc_legacy_tm                            0   12000000    0    0
        emcsc                                      0  408000000    0    0
        emcsd                                      0  408000000    0    0
        pllp_bb                                    1  408000000    5    0
            axi_cbb                                1  204000000    2    1 vdd_core@586402
            host1x                                 1  204000000    3    1 vdd_core@586402
            pllp_grtvxha                           1  408000000    9    0
                pllp_cv                            1  408000000    1    0
                pllp_grtvxiol                      1  408000000    8    0
                    extperiph1                     0   37090909    0    0
                    extperiph2                     0   24000000    0    0
                    extperiph3                     0   24000000    0    0
                    extperiph4                     0   24000000    0    0
                    i2c3                           1  136000000    1    1 vdd_core@604929
                    i2c4                           1  136000000    1    1 vdd_core@604929
                    i2c6                           1  136000000    1    1 vdd_core@604929
                    i2c7                           1  136000000    1    1 vdd_core@604929
                    i2c9                           1  136000000    1    1 vdd_core@604929
                    pwm1                           0  408000000    0    0
                    pwm2                           1  204000000    1    0 vdd_core@615222
                    pwm8                           0  408000000    0    0
                    spi1                           0   68000000    0    0
                    spi3                           0   68000000    0    0
                    uarta                          1    1841986    1    1 vdd_core@615222
                    uartb                          0  204000000    0    0
                    uartd                          0  204000000    0    0
                    uarte                          0  204000000    0    0
                    uartf                          0  408000000    0    0
                    uarth                          0  204000000    0    0
                pllp_boot                          1  408000000    4    0
                    bpmp_apb                       1  204000000    1    0 vdd_core@586402
                    soc_therm                      1   40800000    1    0 vdd_core@584343
                    entropy                        1  408000000    1    0
                pllp_display                       1  408000000    3    0
                    hda                            1  102000000    1    1 vdd_core@615222
                    hda2codec_2x                   1   48000000    1    1 vdd_core@615222
                    maud                           0  102000000    0    0
                    nvcsilp                        0  204000000    0    0
                    vi_const                       0  408000000    0    0
                    slvsec_padctrl                 0  204000000    0    0
                pllp_nvhs                          1  408000000    3    0
                    nvhs_rx_byp_ref                0  136000000    0    0
                    nvhs_pll0_mgmt                 1  102000000    1    0 vdd_nvhs@1000000
                pllp_vic                           1  408000000    1    0
                pllp_aon                           1  408000000    3    0
                    mss_encrypt                    0   40800000    0    0
                    i2c2                           1  136000000    1    1 vdd_core@604929
                    i2c8                           1  136000000    1    1 vdd_core@604929
                    pwm4                           0  408000000    0    0
                    spi2                           0   68000000    0    0
                pllp_audio                         1  408000000    1    0
                    ahub                           0   81600000    0    0
            pllp_grtvxmemioba                      1  408000000    2    0
                pllp_grtvxmemiol                   1  408000000    2    0
        pllp_grtvxhb                               1  408000000    9    0
            pllp_eqos                              1  408000000    3    0
                i2c1                               1  136000000    1    1 vdd_core@604929
                pwm7                               1  204000000    1    0
                qspi0                              0  136000000    0    0
                    qspi0_pm                       0  136000000    0    0
            pllp_grtvxior                          1  408000000    2    0
                pllp_sce                           1  408000000    1    0
                    sdmmc3                         0  136000000    0    0
                    ufshc                          0  204000000    0    0
            pllp_ispa                              1  408000000    1    0
            pllp_nvdec                             1  408000000    1    0
            pllp_nvdec1                            1  408000000    1    0
            pllp_nvenc                             1  408000000    1    0
            pllp_nvenc1                            1  408000000    1    0
            pllp_grtvxmemior                       1  408000000    3    0
                pllp_grtvxmemiobb                  1  408000000    1    0
        pllp_nvjpg                                 1  408000000    1    0
        pllp_uphy                                  1  408000000   10    0
            sata                                   0  102000000    0    0
            sata_oob                               0  204000000    0    0
            pex_sata_usb_rx_byp                    0  204000000    0    0
            pex_usb_pad_pll0_mgmt                  1  102000000    1    0 vdd_nvhs@1000000
            pex_usb_pad_pll1_mgmt                  1  102000000    1    0 vdd_nvhs@1000000
            pex_usb_pad_pll2_mgmt                  1  102000000    1    0 vdd_nvhs@1000000
            pex_usb_pad_pll3_mgmt                  1  102000000    1    0 vdd_nvhs@1000000
            xusb_core_dev                          0  102000000    0    0
            xusb_core_mux                          1  102000000    3    1 vdd_core@635808
                xusb_core_host                     1  102000000    1    1
                xusb_core_ss                       1  102000000    1    1
            xusb_falcon                            1  408000000    3    1 vdd_core@635808
                xusb_falcon_host                   1  408000000    1    1
                xusb_falcon_ss                     1  408000000    1    1
            xusb_padctl                            1  408000000    1    0
            pllp_grtvxuphy                         1  408000000    1    0
    pllp_div17                                     1   24000000    2    1
        sor_safe                                   1   24000000    2    1 vdd_core@615222
            dpaux                                  1   24000000    1    1
            dpaux1                                 0   24000000    0    0
            sor0_out                               0   24000000    0    0
            sor2_out                               0   24000000    0    0
            sor3_out                               0   24000000    0    0
            dpaux2                                 0   24000000    0    0
            dpaux3                                 0   24000000    0    0
    pllp_out5                                      1  204000000    2    1
        gpu_pwr                                    1  204000000    3    1
            nafll_gpu                              1  114750000    1    0 vdd_cpu@581125
                gpc2mux                            1  114750000    1    0
                    gpcclk                         1  114750000    1    1
    pllp_ud                                        1  408000000    1    0
    slvscil_iobist                                 0  136000000    0    0
sor0_pad_clkout                                    0  600000000    0    0
sor1_pad_clkout                                    1  148500000    2    1
    sor1_out                                       1  148500000    1    1 vdd_core@615222
iqc1_in                                            0          0    0    0
    iqc1                                           0          0    0    0
iqc2_in                                            0          0    0    0
    iqc2                                           0          0    0    0
sor2_pad_clkout                                    0  600000000    0    0
sor3_pad_clkout                                    0  600000000    0    0
pex0_core_0                                        0  500000000    0    0
    pex0_core_0m                                   0  500000000    0    0
pex0_core_1                                        0  500000000    0    0
    pex0_core_1m                                   0  500000000    0    0
pex0_core_2                                        0  500000000    0    0
    pex0_core_2m                                   0  500000000    0    0
pex0_core_3                                        0  500000000    0    0
    pex0_core_3m                                   0  500000000    0    0
pex0_core_4                                        1   62500000    1    1 vdd_core@563757
    pex0_core_4m                                   0   62500000    0    0
pex1_core_5                                        0  500000000    0    0
    pex1_core_5m                                   0  500000000    0    0
pex_ref1                                           0          0    0    0
pex_ref2                                           0          0    0    0
nvhs_ref                                           0          0    0    0
csi_a_pad                                          0          0    0    0
    csi_a                                          0          0    0    0
csi_b_pad                                          0          0    0    0
    csi_b                                          0          0    0    0
csi_c_pad                                          0          0    0    0
    csi_c                                          0          0    0    0
csi_d_pad                                          0          0    0    0
    csi_d                                          0          0    0    0
csi_e_pad                                          0          0    0    0
    csi_e                                          0          0    0    0
csi_f_pad                                          0          0    0    0
    csi_f                                          0          0    0    0
csi_g_pad                                          0          0    0    0
    csi_g                                          0          0    0    0
csi_h_pad                                          0          0    0    0
    csi_h                                          0          0    0    0
clk_32k                                            0      32768    0    0
    aon_i2c_slow                                   0      32768    0    0
    i2c_slow                                       0      32768    0    0
spdifin_input                                      0          0    0    0
    i2s1_sync_clk                                  0          0    0    0
    i2s2_sync_clk                                  0          0    0    0
    i2s3_sync_clk                                  0          0    0    0
    i2s4_sync_clk                                  0          0    0    0
    i2s5_sync_clk                                  0          0    0    0
    i2s6_sync_clk                                  0          0    0    0
i2c5                                               0  136000000    0    0
nvlink_pll_txclk                                   0 1611431250    0    0
osc_div                                            1   38400000    8    0
    pll_a1                                         0  600000000    0    0
        aclk                                       0  300000000    0    0
            adsp                                   0  300000000    0    0
                adspneon                           0  300000000    0    0
        plla1_out1                                 0  150000000    0    0
            ape                                    0  150000000    0    0
                apb2ape                            0  150000000    0    0
    pll_a                                          0  270950390    0    0
        plla_out0                                  0   45158398    0    0
            aud_mclk                               0   11289599    0    0
            dmic1                                  0    3010559    0    0
            dmic2                                  0    3010559    0    0
            dmic3                                  0    3010559    0    0
            dmic4                                  0    3010559    0    0
            dspk1                                  0   11289599    0    0
            dspk2                                  0   11289599    0    0
            i2s1                                   0    2150399    0    0
            i2s2                                   0    2150399    0    0
            i2s3                                   0    2150399    0    0
            i2s4                                   0    2150399    0    0
            i2s5                                   0    1411199    0    0
            i2s6                                   0    2150399    0    0
    pll_aon                                        1  400000000    2    0
        aon_apb                                    1  200000000    1    0
        aon_cpu_nic                                1  200000000    1    0 vdd_aon@800000
            aon_nic                                1  200000000    1    0
    pll_d                                          0 1190400000    0    0
    pll_d2                                         1  148500000    3    1 vdd_core@586402
        nvdisplay_p0                               1  148500000    2    1 vdd_core@586402
            nvdisplay_disp                         1  148500000    1    1 vdd_core@586402
        sor1_ref                                   1  148500000    1    1
    pll_d3                                         0 1536000000    0    0
    pll_dp                                         0  270000000    0    0
    pll_d4                                         0 1536000000    0    0
    pll_e                                          1  100000000    3    1
        uphy_pll3                                  0          0    0    0
        plle_hps                                   1  100000000    1    0
    utmipll                                        1  960000000    4    1
        utmipll_clkout48                           1   48000000    2    1
            xusb_fs                                1   48000000    2    1 vdd_core@615222
                xusb_fs_host                       1   48000000    1    1
                xusb_fs_dev                        0   48000000    0    0
        utmipll_clkout480                          1  480000000    2    1
            xusb_ss                                1  120000000    2    1 vdd_core@635808
                xusb_ss_dev                        0  120000000    0    0
                xusb_ss_superspeed                 1  120000000    1    1
        utmipll_hps                                0  960000000    0    0
        utmipll_clkout60                           1   60000000    1    0
            pllrefe_vcoout                         1  625000000    4    0
                eqos_axi                           1  125000000    1    1 vdd_core@615222
                eqos_ptp_ref                       1  312500000    1    1 vdd_core@615222
                eqos_tx                            1  125000000    1    1 vdd_core@615222
                mphy_core_pll_fixed                0  208333333    0    0
                    mphy_l0_rx_ana                 0  208333333    0    0
                    mphy_l1_rx_ana                 0  208333333    0    0
                mphy_l0_rx_ls_bit                  0  625000000    0    0
                mphy_l0_rx_symb                    0   31250000    0    0
                mphy_l0_tx_ls_3xbit                0  625000000    0    0
                mphy_l0_tx_symb                    0   10416666    0    0
                pllrefe_vcoout_gated               1  625000000    1    0
    pll_c4                                         1  781000781    1    0
        pllc4_out1                                 0  260333593    0    0
        pllc4_out2                                 0  156200156    0    0
        pllc4_vco_div2                             1  390500390    1    0
            pllc4_muxed                            1  390500390    1    0
                sdmmc1                             0  195250195    0    0
    pll_nvhs                                       1  100000000    2    0
        pllnvhs_hps                                1  100000000    1    0
    pll_disphub                                    1  600000000    2    1
        nvdisplayhub                               1   18750000    1    1 vdd_core@586402
    pll_nvcsi                                      0  942000000    0    0
        nvcsi                                      0  314000000    0    0
            slvsec                                 0  314000000    0    0
    pll_c                                          0  204000000    0    0
        can1                                       0  102000000    0    0
            can1_host                              0  102000000    0    0
            can1_core                              0   34000000    0    0
        can2                                       0  102000000    0    0
            can2_host                              0  102000000    0    0
            can2_core                              0   34000000    0    0
        qspi1                                      0  204000000    0    0
            qspi1_pm                               0  204000000    0    0
    pll_c2                                         0   19354838    0    0
    pll_c3                                         0   19354838    0    0
    pll_bpmpcam                                    0   19354838    0    0
    pllg_ref                                       1   38400000    1    0
        gpcpll                                     0   56980645    0    0
    pll_m                                          0 1866000000    0    0
        pllm_ud                                    0 1866000000    0    0
    pll_mb                                         0 1599998437    0    0
        pllmb_ud                                   0 1599998437    0    0
            emcsa                                  1 1599998437    1    0
    pll_msb                                        0 1866000000    0    0
        pllmsb_ud                                  0 1866000000    0    0
    pll_msbb                                       0 1599998437    0    0
        pllmsbb_ud                                 0 1599998437    0    0
            emcsb                                  1 1599998437    1    0
    pll_msc                                        0  806400000    0    0
        pllmsc_ud                                  0  806400000    0    0
    pll_mscb                                       0  806400000    0    0
        pllmscb_ud                                 0  806400000    0    0
    pll_msd                                        0  806400000    0    0
        pllmsd_ud                                  0  806400000    0    0
    pll_msdb                                       0  806400000    0    0
        pllmsdb_ud                                 0  806400000    0    0
jtag_tck_ib                                        0          0    0    0
pll_x                                              0 1500000000    0    0
hsio_uphy_pll0_txclkref                            0  500000000    0    0
hsio_uphy_pll1_txclkref                            0  500000000    0    0
hsio_uphy_pll2_txclkref                            0  500000000    0    0
hsio_uphy_pll3_txclkref                            0  500000000    0    0
nvhs_uphy_pll0_txclkref                            0  500000000    0    0

Seems interesting that extperiph2 is off:
extperiph2 0 24000000 0 0

From how i understand it the pinmux config sheet, extperiph2 is the clock that should be used for CSI.

Might be interesting to check with a scope, if the clock pulse is actually present at the camera port