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>;
};
};
};
};
`