Hi Wigros Sun, Thank you!
Now, I config my dts as flowing:
&i2c2 {
clock_frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";
adv7182: adv7182@20 {
compatible = "adv,adv7180";
reg = <0x20>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi1>;
clocks = <&clks IMX6UL_CLK_CSI>;
clock-names = "csi_mclk";
//pwn-gpios = <&gpio_spi 6 1>;
//rst-gpios = <&gpio_spi 5 0>;
csi_id = <0>;
//mclk = <24000000>;
//mclk_source = <0>;
mclk = <28636300>;
mclk_source = <0>;
status = "okay";
port {
adv7182_ep: endpoint {
remote-endpoint = <&csi1_ep>;
};
};
};
};
&csi {
status = "okay";
//pinctrl-names = "default";
//pinctrl-0 = <&pinctrl_csi1>;
port {
csi1_ep: endpoint {
remote-endpoint = <&adv7182_ep>;
};
};
};
then I patch the mx6s_capture.c according to 0001-Enable-CSI-support-BT656-interlace-and-add-adv7180.patch.zip, I do not change the drivers/media/platform/mxc/capture/adv7180.c.
Do you have any other advice?