AnsweredAssumed Answered

imx8mm on android9 i2c4 enable fail??

Question asked by zhou wei on May 13, 2020
Latest reply on May 15, 2020 by zhou wei

hello,nxp

our soc is imx8mm and os is android9.0

from fsl_imx8mm_evk.dts,we can see i2c4 is not enable and the pin had resued。

so delete the mux pin。

below is my i2c4 dts

pinctrl_i2c4: i2c4grp {
    fsl,pins = <
      MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3
      MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3
    >;
};

 

&i2c4 {
    clock-frequency = <100000>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_i2c4>;
    status = "okay";

    goodix_ts:goodix_ts@28 {
    compatible = "goodix,gt1x";
    reg = <0x28>;
    interrupt-parent = <&gpio1>;
    interrupts = <7 0x2>;
    vdd_ana-supply = <&reg_usdhc2_vmmc>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_ts_int_pull_up>;
    goodix,reset-gpio = <&gpio1 7 0x00>;
    goodix,irq-gpio = <&gpio1 6 0x00>;
    goodix,default-config0 = [
       5c 00 12 11 10 11 5f 00 cc bb
      22 00 11 00 00 00 00 00 00 00
    ];
    goodix,charger-config2 = [
      5f 00 12 11 10 11 5f 00 cc bb
      23 00 11 00 00 00 00 00 00 00
    ];
  };
};

 

from start log:we could know i2c1,i2c2 and i2c3 is enable,but i2c4 is not enable

Outcomes