Camera Driver Guide for i.MX 93 EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Camera Driver Guide for i.MX 93 EVK

26,205 Views
Navee_nK
Contributor II

Hi,

I am trying to integrate my AR1335 sensor (which has its own ISP) with the i.MX93-EVK. I have written the driver under drivers/media/platform/imx8/ar1335.c and am able to load the driver and generate the video node. I have attached the dmesg and media-ctl logs for your reference.
However, I am unable to list my controls when I run v4l2-ctl -d 0 -l or --list-ctrls. I’ve tried changing the video device, but nothing seems to work.
In my driver, I have registered a new function with:
static struct v4l2_subdev_core_ops ar1335_subdev_core_ops = {
.queryctrl = ar1335_queryctrl,
};
and registered it in v4l2-subdev.h with the following:
int (*queryctrl)(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc);

I’m not sure where I’m going wrong. Could you help me understand the flow for getting these kernel calls working with my i.MX93-EVK kit?

Thanks,
Naveen

Tags (1)
0 Kudos
Reply
24 Replies

11,754 Views
marco_c_variscite
Contributor I

Hi @Navee_nK 

Can you please clarify how did you resolve the 4K streaming issue? Did you modify the imx8-isi-hw.c driver to skip the if (frm->o_width > ISI_2K) test for imx93?

Thanks

Marco

0 Kudos
Reply

1,457 Views
marco_c_variscite
Contributor I
Thanks for your quick answer, it worked!
Marco
0 Kudos
Reply

1,494 Views
Navee_nK
Contributor II

Hi @marco_c_variscite ,

Yes, I have modified to skip that "if(frm->o_width > ISI_2K)" condition case and got it working.

Thanks,
Naveen

0 Kudos
Reply

2,770 Views
joanxie
NXP TechSupport
NXP TechSupport

1) I think you misunderstand this, data rate = Pixel clock * Bits-per-pixel, not 2, and this clock is already defined in the RM

 
 

joanxie_2-1740642524569.png

2)if you already can support 4k, you don't need change anything, your previous doesn't include clock settings, I just remind you

 

 

 

 

0 Kudos
Reply