Problem with capacitive touchscreen driver ft5x06 no input event

Hello,

I’m trying to use the touch panel of a capacitive screen (newhaven NHD-7.0-800480EF-ATXL#-CTP) with the ft5x06 driver. The beaglebone black already has the module edt_ft5x06 compiled (I’m using the 3.8 kernel version).

I made a dts file that compile and can be loaded without error. But there isn’t a new event in /dev/input/ after loading the device tree (I2C1 is loaded in /dev).

The goal is to use the touch panel with X using tslib so I need this interrupt event.

Anyone achieved this?

My .dts file:

`
/dts-v1/;
/plugin/;
/ {
compatible = “ti,beaglebone”, “ti,beaglebone-black”;

part-number = “BB-I2C1”;
version = “00A0”;

exclusive-use =
/* the pin header uses /
“P9.18”, /
i2c1_sda /
“P9.17”, /
i2c1_scl */
“P9.24”, /reset/
“P8.7”, /interrupt/

/* the hardware ip uses */
“i2c1”;

fragment@0 {
target = <&am33xx_pinmux>;
overlay {

bb_i2c1_pins: pinmux_bb_i2c1_pins {

pinctrl-single,pins = <
0x158 0x72 /* i2c1_sda*/
0x15c 0x72 /* i2c1_scl */

;
};

ts_pins: pinmux_ts_pins{

pinctrl-single,pins =<
0x90 0x37
0x04 0x30

;
};
};
};

fragment@1 {
target = <&i2c1>; /* i2c1 is numbered correctly */
overlay {
status = “okay”;

pinctrl-names = “default”;

pinctrl-0 = <&bb_i2c1_pins>;

clock-frequency = <400000>;

#address-cells = <1>;
#size-cells = <0>;

edt_ft5x06: edt_ft5x06@38 {
compatible = “edt, ft5x06”;

pinctrl-names=“default”;
pinctrl-0=<&ts_pins>;
reg = <0x38>;
interrupt-parent = <&gpio3>;
interrupts = <2>;
reset-gpios = <&gpio1 15 1>;
};
};
};
};
`

Hello,

I’m working on integration of the same panel into a custom board. Were you able to resolve this issue? In my case:

  • “modinfo edt_ft5x06” displays everything except the “depends:” field.
  • /sys/bus/devices/ has an entry for the device
  • /sys/bus/i2c/drivers/edt_ft5x06 exists, but I can’t bind to it.
  • /sys/devices/ocp.2/44e0b000.i2c/i2c-0 is populated (accurately?)
  • /sys/modules/edt_ft5x06 seems partially populated
  • /dev/input doesn’t have TS info
  • /proc/bus/input/devices is empty

Hello Jim,

I’m currently using the kernel 3.14. I modified the bbb-exp-c dtb to have the good resolution and it worked.

Good luck

Hello,

We are using AM3358 TI SDK (03.02.00.05) and we need to integrate the LCD touch screen cape (BBEXPDTC70) with Beagle Bone Black.

We are building the kernel config( tisdk_am335x-evm_defconfig), can you please let us know what are the modules, config parameters need to be enable to integrate the “BBEXPDTC70” cape.

Can you please let us know what are the config(am335x_boneblack_defconfig) parameters need to be enable in u-boot to integrate the “BBEXPDTC70” cape.

Thanks,

Raghavendra