Touch Screen Integration With IMX8M Nano

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Touch Screen Integration With IMX8M Nano

ソリューションへジャンプ
1,962件の閲覧回数
RDSIMARIA
Contributor III

Hello Team,

Currently i am working on Touch screen integration with IMX8m Nano.

What i have done so so far is

1. Added Driver support in kernel and dts

2  Able to probe touch screen on Android 9

3. But not getting touch events and found out that not getting interrupts

4 In /proc/interupts count is not increasing when i probe DSO on intruppt pin from Touch screen side it is working properly.

My DTS node is as below

pinctrl_ilitek_touch: ilitektouchgrp {
fsl,pins = <
MX8MN_IOMUXC_GPIO1_IO09_GPIO1_IO9 0x19
MX8MN_IOMUXC_GPIO1_IO10_GPIO1_IO10 0x19
>;
};

ilitek241: ilitek@41 {
compatible = "tchip,ilitek";
reg = <0x41>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ilitek_touch>;
interrupt-parent = <&gpio1>;
interrupts = <9 0x0>;
ilitek,irq-gpio = <&gpio1 9 0x0>;
ilitek,reset-gpio = <&gpio1 10 0x0>;
ilitek,vbus = "vcc_i2c";
ilitek,vdd = "vdd";
ilitek,name = "ilitek_i2c";
status = "okay";
};

 

Connected Reset and Interrupt pin on 9 and 10 (13 & 15 pin) on expander

 

0 件の賞賛
返信
1 解決策
1,908件の閲覧回数
RDSIMARIA
Contributor III

@Bio_TICFSL Thanks for quick response.

Just wanted to know if i am using Reset & Interrupt GPIOs Properly in DTS

Now i can check driver code

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,630件の閲覧回数
kayan
Contributor I

can you what is the procedure to integrate touch screen with imx 8m mini where and all i have to modify in devide tree and which driver you used (name) iam new to this please help me

 

0 件の賞賛
返信
1,909件の閲覧回数
RDSIMARIA
Contributor III

@Bio_TICFSL Thanks for quick response.

Just wanted to know if i am using Reset & Interrupt GPIOs Properly in DTS

Now i can check driver code

0 件の賞賛
返信
1,929件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Your code looks ok, you may see the datasheet of the touch and the driver source code.

Regards

0 件の賞賛
返信