How to disable CSI mipi CRC check on Xavier?

Have a try below patch.

diff --git a/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c b/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c
index d23994d..3530df6 100644
--- a/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c
+++ b/drivers/media/platform/tegra/camera/nvcsi/csi5_fops.c
@@ -45,6 +45,24 @@
  */
 #define TPG_BLANK 6

+static void csi5_stream_write(struct tegra_csi_channel *chan,
+                unsigned int index, unsigned int addr, u32 val)
+{
+        struct tegra_csi_device *csi = chan->csi;
+        u32 cilb_offset = (index & 0x1) ? CSI5_STREAM_OFFSET : 0x0;
+
+        writel(val, csi->iomem[index >> 1] + cilb_offset + addr);
+}
+
+static u32 csi5_stream_read(struct tegra_csi_channel *chan,
+                unsigned int index, unsigned int addr)
+{
+        struct tegra_csi_device *csi = chan->csi;
+        u32 cilb_offset = (index & 0x1) ? CSI5_STREAM_OFFSET : 0x0;
+
+        return readl(csi->iomem[index >> 1] + cilb_offset + addr);
+}
+
 static void csi5_phy_write(struct tegra_csi_channel *chan,
                unsigned int index, unsigned int addr, u32 val)
 {
@@ -295,6 +313,7 @@ static int csi5_start_streaming(struct tegra_csi_channel *chan, int port_idx)
        if (!chan->pg_mode)
                csi5_stream_set_config(chan, st_id, csi_pt, num_lanes);

+       dev_info(csi->dev, "PH_CHK_CTRL = %d\n", csi5_stream_read(chan, port_idx, CSI5_PH_CHK_CTRL));
        csi5_stream_open(chan, st_id, csi_pt);

        if (chan->pg_mode) {
@@ -302,6 +321,8 @@ static int csi5_start_streaming(struct tegra_csi_channel *chan, int port_idx)
                if (err)
                        return err;
        }
+       csi5_stream_write(chan, port_idx, CSI5_PH_CHK_CTRL, 0x0);
+       dev_info(csi->dev, "PH_CHK_CTRL = %d\n", csi5_stream_read(chan, port_idx, CSI5_PH_CHK_CTRL));

        return err;
 }
diff --git a/include/media/csi5_registers.h b/include/media/csi5_registers.h
index 0d37859..049cf6a 100644
--- a/include/media/csi5_registers.h
+++ b/include/media/csi5_registers.h
@@ -24,11 +24,14 @@

 #define CSI5_BASE_ADDRESS              0x011000
 #define CSI5_PHY_OFFSET                        0x010000
+#define CSI5_STREAM_OFFSET              0x800
 #define CSI5_TEGRA_CSI_STREAM_0_BASE   0x10000
 #define CSI5_TEGRA_CSI_STREAM_2_BASE   0x20000
 #define CSI5_TEGRA_CSI_STREAM_4_BASE   0x30000

+#define CSI5_PH_CHK_CTRL                     0x194
+
 #define CSI5_NVCSI_CIL_A_SW_RESET      0x24
 #define CSI5_NVCSI_CIL_B_SW_RESET      0xb0
 #define CSI5_SW_RESET1_EN              (0x1 << 1)