The schematic as shown below:


the device tree node:
*/
&i2c_mipi_csi0 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c_mipi_csi0>;
//clock-frequency = <100000>; //dleted by zhoubingying
clock-frequency = <50000>;
status = "okay";
max9286_mipi@6a {
compatible = "maxim,max9286_mipi";
reg = <0x6a>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mipi_csi0>;
clocks = <&clk_dummy>;
clock-names = "capture_mclk";
mclk = <27000000>;
mclk_source = <0>;
pwn-gpios = <&lsio_gpio1 27 GPIO_ACTIVE_HIGH>;
en-gpios = <&lsio_gpio1 28 GPIO_ACTIVE_HIGH>;
virtual-channel;
status = "okay";
port {
max9286_0_ep: endpoint {
remote-endpoint = <&mipi_csi0_ep>;
data-lanes = <1 2 3 4>;
};
};
};
};
/* MIPI RX */
&isi_6 {
interface = <2 0 2>; /* <Input MIPI_VCx Output>
Input: 0-DC0, 1-DC1, 2-MIPI CSI0, 3-MIPI CSI1, 4-HDMI, 5-MEM
VCx: 0-VC0, 1-VC1, 2-VC2, 3-VC3, MIPI CSI only
Output: 0-DC0, 1-DC1, 2-MEM */
status = "okay";
cap_device {
status = "okay";
};
};
I use gmsl-max9286.c as driver in kernel,All the IIC communication is OK。 I can not write ox0f to the reg 0x0100 of OV10635 after writting oxF0 to the reg 0x3023 of OV10635 and can't capture the video from camera.