imx6 touch dts configuration based on yocto platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 touch dts configuration based on yocto platform

547 Views
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 Kudos
3 Replies

516 Views
askli1983
Contributor I

Yes, I set gpio3_IO07, it works now.

0 Kudos

517 Views
askli1983
Contributor I

Yes, I set gpio3_IO07, it works now.

0 Kudos

529 Views
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 Kudos