How to add cap touch screen driver into yocto image

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

How to add cap touch screen driver into yocto image

2,781 次查看
freescaleusr1
Contributor I

Hi,  Dear Expert

I wish to add cap touch screen driver into yocto image, so that my touch lcd panel can work. I am new to achieve this feature, so pls some expert tell me entire steps to achieve it. the following is my guess, maybe it is not correct or not entire, so pls correct me, thanks.

my touch panel is capicator type, I2C interface (pls see picture below), 30ea(X)x42ea(Y), LCD PANEL pixels is 1366x768 and 10.1 inch size.

my software is core-image-x11

pastedImage_0.png

I guess I need to modfy : (pls correct me if i miss sth or am mistaken)

1: modify dts

   a>add touchpanel definition, like

         touchscreen@xx {

          compilant <folder,driver>

          reset pin =

          int pin =

          interrupt =

}

  b>interrupt@xx {

      touch int =

}

  c>I2C@XX {

     sth

}

2: add touch.c in some folder

3: modify xorg file add the following:

SECTION

touch sth

标签 (3)
0 项奖励
回复
1 回复

1,729 次查看
igorpadykov
NXP Employee
NXP Employee

Hi wz

one can look at examples with new touchscreen support at:

i.MX6 max11801 touchscreen can't work

https://boundarydevices.com/tweaking-froyo-for-nitrogen-part-1-touch-support/

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复