rk3288的I2C-5为什么用不了
rk3288的I2C-5在使用中,一直报错"-110",显示是总线busy,用示波器看了sda和scl上没有波形.请问rk3288的I2C-5不能使用吗? firefly的I2C5没有引出来啊 zhansb 发表于 2016-12-9 09:51firefly的I2C5没有引出来啊
版主,你好!我们是用rk3288自己打板的,I2C-5引出来了,且进行了电阻拉高处理.但是每次开机启动内核后i2c-5的电压都会强制拉低了,请问这是为什么?内核里有控制i2c-5强制拉低的吗? 试试修改:
arch/arm/boot/dts/rk3288-pinctrl.dtsi
diff --git a/arch/arm/boot/dts/rk3288-pinctrl.dtsi b/arch/arm/boot/dts/rk3288-pinctrl.dtsi
index 8046018..2de55db 100755
--- a/arch/arm/boot/dts/rk3288-pinctrl.dtsi
+++ b/arch/arm/boot/dts/rk3288-pinctrl.dtsi
@@ -384,21 +384,20 @@
gpio7_i2c5 {
i2c5_sda:i2c5-sda {
- rockchip,pins = <EDPHDMII2C_SDA>;
+ rockchip,pins = <I2C5HDMI_SDA>;
rockchip,pull = <VALUE_PULL_NORMAL>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
-
i2c5_scl:i2c5-scl {
- rockchip,pins = <EDPHDMII2C_SCL>;
+ rockchip,pins = <I2C5HDMI_SCL>;
rockchip,pull = <VALUE_PULL_NORMAL>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
//rockchip,tristate = <VALUE_TRI_DEFAULT>;
};
i2c5_gpio: i2c5-gpio {
- rockchip,pins = <FUNC_TO_GPIO(EDPHDMII2C_SDA)>, <FUNC_TO_GPIO(EDPHDMII2C_SCL)>;
+ rockchip,pins = <FUNC_TO_GPIO(I2C5HDMI_SDA)>, <FUNC_TO_GPIO(I2C5HDMI_SCL)>;
rockchip,drive = <VALUE_DRV_DEFAULT>;
};
};
学习;额
页:
[1]