Tool/software: Linux
Hi,
I used i2c-gpio driver, But the sda can not read ack correctlly from the eeprom. The waveform of the ack is half-high. I think the sda is not input mode, when the ack arrives.
So I think the gpio open-drain mode is invalid. Please help me.
The dts follow.
gpioi2c3: i2c-3 {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c3_gpio>;
compatible = "i2c-gpio";
status = "okay";
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH &gpio1 12 GPIO_ACTIVE_HIGH>;
i2c-gpio,sda-open-drain;
i2c-gpio,scl-open-drain;
i2c-gpio,delay-us = <5>;
};