imx8qxp cannot find i2c_mipi_csi0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8qxp cannot find i2c_mipi_csi0

ソリューションへジャンプ
18,185件の閲覧回数
liaxxin
Contributor III

Hi,

I am working on kernel 5.10 and imx8qxp. An eeprom is connected on i2c_mipi_csi0, the dts is below:

&i2c_mipi_csi0 {
 #address-cells = <1>;
 #size-cells = <0>;
 pinctrl-names = "default";
 pinctrl-0 = <&pinctrl_i2c_mipi_csi0>;
 clock-frequency = <100000>;
 status = "okay";

 eeprom@50 {
 compatible = "atmel,24c64"; 
 reg = <0x50>;
 pagesize = <32>;
 status = "okay";
 };

};

 pinctrl_i2c_mipi_csi0: i2c-mipi-csi0grp {
 fsl,pins = <
 IMX8QXP_MIPI_CSI0_I2C0_SCL_MIPI_CSI0_I2C0_SCL 0xc2000020
 IMX8QXP_MIPI_CSI0_I2C0_SDA_MIPI_CSI0_I2C0_SDA 0xc2000020
 >;
 };

but I only got results as:

liaxxin_0-1744957780401.png

There is no device of i2c_mipi_csi0. I don't know where I was wrong. Could you help me with this? thanks a lot!

Li

 

0 件の賞賛
返信
1 解決策
14,727件の閲覧回数
liaxxin
Contributor III

Hi Rita,

thanks for your support.

I found the problem: we need to enable at least one isi interface, after adding below in device tree, i2c_mipi_csi0 works.

+&isi_0 {
+ status = "okay";
+
+ port@0 {
+ isi_input: endpoint {
+ remote-endpoint = <&ar0234_mipi_ep>;
+ };
+ };
+ cap_device {
+ status = "okay";
+ };
+};

元の投稿で解決策を見る

22 返答(返信)
3,859件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Note:

The 2k on R11 and R12 are needed, do not remove them.

3,864件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

OK, I will help check.

0 件の賞賛
返信