FT5X06 Touchpad Interfacing

I have a FocalTech FT5206 touchpad interfaced to the TX2. The i2cdetect probing gives me the i2c address as 0x38.

I need help in adding it to the DTB file and for it to work as an input to the operating system.

The DTB parameters are
polytouch: edt-ft5x06@38 {
compatible = “edt,edt-ft5406”, “edt,edt-ft5x06”;
reg = <0x38>;
pinctrl-names = “default”;
pinctrl-0 = <&edt_ft5x06_pins>;
interrupt-parent = <&gpio2>;
interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
};

hello manoj_htic,

i’m not quite understand your question, are you able to probe your touchpad already?
please have more description, thanks

I have the .cpp and .h files for the Ft5206 Touchpad I2C controller . I want to interface it with the TX2. I have tried compiling it as a kernel module but i get missing header files. Please guide on installing a kernel module / drivers for FT5206 Touchpad controller.

I2Cdetect probing gives me the I2C address 0x38.

Thanks

hello manoj_htic,

sounds like you’re not able to compile the kernel source.
are you able to compile original kernel source already?
could you please paste the failure message, which header file you were missing?
thanks

Hi manoj_htic,

Are you able to complete the kernel source?
Any further progress on this issue?

Thanks

hello kaycc ,
I was able to compile the kernel module edt-ft5x06 and command lsmod lists the module is loaded.
I dont get any response from the touchpad though. I am having issues with the device tree. I dont know the Interrupt to be used with TX2. Where do I place the dtsi file ? How do I include it with the base DTB ?
Thanks.

Hi manoj_htic,

Thanks for the update, regarding the DTB, please refer to http://elinux.org/Jetson/TX2_DTB#TX2