I use jetson TX1 R28.2.
I test the sensor MCLK clock is 12.0MHz, is not 24.0MHz
WHY?
this is my dtsi file.
host1x {
i2c@546c0000 {
imx219_a@10 {
/* Define any required hw resources needed by driver */
/* ie. clocks, io pins, power sources */
/* mclk-index indicates the index of the */
/* mclk-name with in the clock-names array */
clocks = <&tegra_car TEGRA210_CLK_CLK_OUT_3>;
clock-names = "clk_out_3";
clock-frequency = <24000000>;
mclk = "clk_out_3";
reset-gpios = <&gpio CAM219_RST_L GPIO_ACTIVE_HIGH>;
pwdn-gpios = <&gpio CAM0_PWDN1 GPIO_ACTIVE_HIGH>;
avdd-reg = "vana";
iovdd-reg = "vif";
dvdd-reg = "vdig";
};
};
};
compatible = "nvidia,imx219";
/* I2C device address */
reg = <0x10>;
/* V4L2 device node location */
devnode = "video0";
/* Physical dimensions of sensor */
physical_w = "5.095";
physical_h = "4.930";
/* Sensor output flip settings */
vertical-flip = "true";
sensor_model ="imx219";
/*vana-supply = <&en_vdd_cam_hv_2v8>;*/
/*vdig-supply = <&avdd-sys>;*/
/*dovdd-supply = <&en_vdd_cam>;*/
avdd-reg = "vana";
iovdd-reg = "vif";
dvdd-reg = "vdig";
mode0 { //
mclk_khz = "24000";
num_lanes = "2";
tegra_sinterface = "serial_a";
discontinuous_clk = "yes";
dpcm_enable = "false";
cil_settletime = "0";
active_w = "3280";
active_h = "2464";
pixel_t = "bayer_bggr";
readout_orientation = "90";
line_length = "3448";
inherent_gain = "1";
mclk_multiplier = "25";
pix_clk_hz = "224000000";
min_gain_val = "1.0";
max_gain_val = "16";
min_hdr_ratio = "1";
max_hdr_ratio = "64";
min_framerate = "1.462526";
max_framerate = "21";
min_exp_time = "13";
max_exp_time = "683709";
embedded_metadata_height = "2";
};
I read the clk_out_3 clock out .
nvidia@tegra-ubuntu:~$ sudo cat /sys/kernel/debug/clk/clk_out_3/clk_rate
12000000
nvidia@tegra-ubuntu:~$
Realy,My hardware engineer test the sensor clock is 12.0MHz.
WHY?