I’m writing driver for Sony 9500M. I have got image with gStreamer as usual v4l2 device. But when I use command v4l2-ctl --all, I didn’t see my device. My main task to acquire frames from the camera with Argus library from Multimedia SDK, but it also doesn’t see anything. I have tried to use samples, but I cannot find my camera.
Please, help me, to find whats wrong?
There is small part of device tree:
sony9500m_c@10 {
compatible = "nvidia,sony9500m";
status = "okay";
clocks = <&tegra_car TEGRA186_CLK_EXTPERIPH1>,
<&tegra_car TEGRA186_CLK_PLLP_OUT0>;
clock-names = "extperiph1", "pllp_grtba";
mclk = "extperiph1";
reg = <0x10>;
//devnode = "video1";
/* Physical dimensions of sensor */
physical_w = "15.0";
physical_h = "12.5";
sensor_model ="tfm";
/* Define any required hw resources needed by driver */
/* ie. clocks, io pins, power sources */
reset-gpios = <&tegra_main_gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
reset_register = "2";
/* Defines number of frames to be dropped by driver internally after applying */
/* sensor crop settings. Some sensors send corrupt frames after applying */
/* crop co-ordinates */
post_crop_frame_drop = "0";
/* Convert Gain to unit of dB (decibel) befor passing to kernel driver */
use_decibel_gain = "true";
/* if true, delay gain setting by one frame to be in sync with exposure */
// delayed_gain = "true";
/* enable CID_SENSOR_MODE_ID for sensor modes selection */
//use_sensor_mode_id = "true";
mode0 {/*mode SONY_9500M_MODE_1920X1080P_RGB_60FPS*/
mclk_khz = "37125";
num_lanes = "4";
tegra_sinterface = "serial_a";
phy_mode = "DPHY";
discontinuous_clk = "no";
dpcm_enable = "false";
cil_settletime = "0";
dynamic_pixel_bit_depth = "24";
csi_pixel_bit_depth = "24";
mode_type = "rgb";
pixel_phase = "rgb888";
active_w = "1920";
active_h = "1080";
readout_orientation = "0";
line_length = "1920";
inherent_gain = "1";
mclk_multiplier = "4";
pix_clk_hz = "148500000";
};
ya, that’s correct. CSI/VI able to support those formats.
as you can see in Camera Architecture Stack, there’s [Camera API Matrix] table to describe the camera APIs available for each camera configuration.
i.e. Does not use Jetson ISP/ Uses Jetson ISP.