How to add cap touch screen driver into yocto image

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

How to add cap touch screen driver into yocto image

2,075 Views
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

Labels (3)
0 Kudos
1 Reply

1,023 Views
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 Kudos