I2C1使用B16(GPIO0_4)和A16(GPIO0_5)接GT911触摸芯片,实际执行到触摸芯片初始化的时候用示波器检测不到波形,请问这是什么回事,是哪里配置错了吗。
DTS文档配置为:
i2c1_pins: pinmux_i2c1_pins {
pinctrl-single,pins = <
0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* SPI0_D1.i2c1_sda */
0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* SPI0_CS0.i2c1_scl */
>;
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
clock-frequency = <100000>;
gt911_ts@5d { compatible = "gt911,gt911_ts"; pinctrl-names = "default"; pinctrl-0 = <>911_ts_pins>; reg = <0x5d>; interrupt-parent = <&gpio1>; interrupts = <27 2>; gpios = <&gpio1 26 0>; touchscreen-size-x = <800>; touchscreen-size-y = <480>; touchscreen-swap = <1>; touchscreen-revert-x = <1>; touchscreen-revert-y = <1>; };
};
内核配置如下:
Jian Zhou:
Linux初始化信息有没有和I2C1相关的。