AnsweredAssumed Answered

imx6q i2c-gpio 3.10.17 kernel

Question asked by nagendra sarma on Nov 19, 2014
Latest reply on Nov 27, 2014 by alejandrolozano

hi all,

 

i have enabled I2C-gpio as below in the file "imx6qdl-<myplatform>.dtsi"

 

i2c@0 {

               compatible = "i2c-gpio";

               gpios = <&gpioX  a  0 /* sda */

                       &gpioX b 0 /* scl */

               >;

               i2c-gpio,sda-open-drain;

               i2c-gpio,scl-open-drain;

               i2c-gpio,delay-us = <5>;        /* ~100 kHz */

               i2c-gpio,timeout-ms = <100>;

               #address-cells = <1>;

               #size-cells  = <0>;

};

 

the i2c is getting detected and new adapter added.(i2c0.28)

if i try to use i2cdetect tool there is always single pulse coming in SCL (clock is expected )

 

so, any updated on this, did anybody tried i2c-gpio on imx6q with 3.10.17 kernel ?

 

regards,

Nagendra

Outcomes