Hi,
I would like to add touchscreen via I2C device;
and i connect i2c sensor like below;but the gt911 driver can not into interrtpt mode;
gpio@6000d000 {
gt911_int {
gpio-hog;
input;
gpios = <TEGRA_GPIO(Y,2) GPIO_ACTIVE_HIGH>;
label = “GT911_INT”;
status = “okay”;
};
};
// GPIO12----> GPIO3_PY.02----> Touch_INT
// GPIO13----> GPIO3_PE.06----> Touch_RST
i2c@7000c400 {
gt911@5d {
compatible = “goodix,gt9xx”;
reg = <0x5d>;
interrupt-parent = <&gpio>; // gpio interrupt
interrupts = <TEGRA_GPIO(Y,2) IRQ_TYPE_EDGE_FALLING>; //IRQ_TYPE_EDGE_FALLING
irq-gpio = <&gpio TEGRA_GPIO(Y,2) GPIO_ACTIVE_HIGH>;
rst-gpio= <&gpio TEGRA_GPIO(E,6) GPIO_ACTIVE_HIGH>;
status = “okay”;
};
};
Hi liuzheng89,
Are you using the devkit or custom board for Jetson Nano?
What’s your Jetpack version in use?
What do you mean about “can not into interrtpt mode”?
Could you also share the block diagram of your connection?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.