User Tools

Site Tools


tutorials:expansion_boards_dvk:dvk521:documentations:a20:driver_porting_and_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tutorials:expansion_boards_dvk:dvk521:documentations:a20:driver_porting_and_configuration [2014/07/23 11:09]
waveshare [Porting I2C Bus Driver]
tutorials:expansion_boards_dvk:dvk521:documentations:a20:driver_porting_and_configuration [2014/07/23 11:12] (current)
waveshare
Line 274: Line 274:
 ==== Porting CTP Driver ====  ==== Porting CTP Driver ==== 
 === Config the Kernel ===  === Config the Kernel === 
-Our capacitive touch screen integrates FT5206 as the touch controller, ​ and the related driver file is ft5x_ts.c. Unfortunately the original ft5x_ts.c in linux-sunxi-sunxi-3.4.61 kernel doesn’t support A20, therefore, copy the new ft5x_ts.c [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​A20/​driver%20source/​|ft5x_ts.c]] to the drivers/​input/​touchscreen directory in kernel and replace the original one. Besides, the touch screen interrupt pin ctp_int_port requires GPIO interrupts, make sure the GPIO driver is included when configuring.+Our capacitive touch screen integrates FT5206 as the touch controller, ​ and the related driver file is ft5x_ts.c. Unfortunately the original ft5x_ts.c in linux-sunxi-sunxi-3.4.61 kernel doesn’t support A20, therefore, copy the new ft5x_ts.c [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​a20-cubieboard-dvk/​driver%20source//​|ft5x_ts.c]] to the drivers/​input/​touchscreen directory in kernel and replace the original one. Besides, the touch screen interrupt pin ctp_int_port requires GPIO interrupts, make sure the GPIO driver is included when configuring.
  
 Config the Kernel to include touchscreen driver: Config the Kernel to include touchscreen driver:
tutorials/expansion_boards_dvk/dvk521/documentations/a20/driver_porting_and_configuration.1406084969.txt.gz · Last modified: 2014/07/23 11:09 by waveshare