    LOGD("acquire isp dev");
  
    struct cam_csiphy_acquire_dev_info csiphy_acquire_dev_info = {.combo_mode = 0};
    auto csiphy_dev_handle = device_acquire(s->csiphy_fd, s->session_handle, &csiphy_acquire_dev_info);
    assert(csiphy_dev_handle);
    s->csiphy_dev_handle = *csiphy_dev_handle;
    LOGD("acquire csiphy dev");
  
 
</s> remove   LOGD("link: %d", ret);
 </s> add  </s> remove 		 .meta_stride = 0x0,
 </s> add 		 .meta_stride = 0x0,    // YUV has meta(stride=0x400, size=0x5000) </s> remove     io_cfg[0].format = CAM_FORMAT_MIPI_RAW_10;
    io_cfg[0].color_pattern = 0x5;
    io_cfg[0].bpp = 0xc;
    io_cfg[0].resource_type = CAM_ISP_IFE_OUT_RES_RDI_0;
 </s> add     io_cfg[0].format = CAM_FORMAT_MIPI_RAW_10;             // CAM_FORMAT_UBWC_TP10 for YUV
    io_cfg[0].color_space = CAM_COLOR_SPACE_BASE;          // CAM_COLOR_SPACE_BT601_FULL for YUV
    io_cfg[0].color_pattern = 0x5;                         // 0x0 for YUV
    io_cfg[0].bpp = 0xa;
    io_cfg[0].resource_type = CAM_ISP_IFE_OUT_RES_RDI_0;   // CAM_ISP_IFE_OUT_RES_FULL for YUV </s> remove       .dsp_mode = 0x0,
 </s> add       .dsp_mode = CAM_ISP_DSP_MODE_NONE,
  s->csiphy_fd = open_v4l_by_name_and_index("cam-csiphy-driver", s->camera_num);
  assert(s->csiphy_fd >= 0);
  LOGD("opened csiphy for %d", s->camera_num);

    LOGD("acquire isp dev");
  
  s->csiphy_fd = open_v4l_by_name_and_index("cam-csiphy-driver", s->camera_num);
  assert(s->csiphy_fd >= 0);
  LOGD("opened csiphy for %d", s->camera_num);

    struct cam_csiphy_acquire_dev_info csiphy_acquire_dev_info = {.combo_mode = 0};
    auto csiphy_dev_handle = device_acquire(s->csiphy_fd, s->session_handle, &csiphy_acquire_dev_info);
    assert(csiphy_dev_handle);
    s->csiphy_dev_handle = *csiphy_dev_handle;
    LOGD("acquire csiphy dev");
  
keep add keep keep keep keep keep keep
 Prepare for using the ISP (#23621)

* parse out isp packet with structs

* dsp mode

* support only driver / comments for yuv

* minor touchups

* DEBUG_FRAMES

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/camerad/cameras/camera_qcom2.cc