imx6 touch dts configuration based on yocto platform

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx6 touch dts configuration based on yocto platform

858 次查看
askli1983
Contributor I

I am runing yocto system, I want to make touch screen function work by configuring the dtsi file.

Here is some configuration on imx6qdl-var-mx6cb-misc.dtsi file.

But it did't take effect, when I touch screen, it not trigger interruput, can't response.

Who have the experience to tell me what's wrong?

&i2c3 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";

/* Touch */
cap_touch: gt911@5D {
compatible = "goodix,gt911";
reg = <0x5d>;
pinctrl-names = "default";
interrupt-parent = <&gpio3>;
interrupts = <7 0>;
irq-gpios = <&gpio3 7 0x00>;
reset-gpios = <&gpio5 19 0x00>;
status = "okay";
};

/* DS1337 RTC module */
rtc@68 {
compatible = "dallas,ds1337";
reg = <0x68>;
};
};

0 项奖励
回复
3 回复数

827 次查看
askli1983
Contributor I

Yes, I set gpio3_IO07, it works now.

0 项奖励
回复

828 次查看
askli1983
Contributor I

Yes, I set gpio3_IO07, it works now.

0 项奖励
回复

840 次查看
jimmychan
NXP TechSupport
NXP TechSupport

Do you setup the gpio pins gpio3_IO07 in the dts file?

You could also check the parameters pass to the "gt911" driver are correct or not. 

0 项奖励
回复