Hi,
Hi everyone.
On an armstonea9r2 I'm unable to let the Resistive touch kit 2 (SINTF-ADP-RTI2C) works: just wondering if I'm missing something.
I've connected the 6 pole hirose connector to the board.
I've enabled the SX8655 touchscreen controller, uncommenting the following line in the armstonea9r2dl.dts device tree source script:
define CONFIG_ARMSTONEA9R2_4WTOUCH_SX8655
I've successfully rebuilt the device tree and deployed it on the board, but the controller doesn't works.
dmesg displays the following error:
I've decoded the actual devicetree binary file generated in the output/images folder (with the dtc -I dtb armstonea9r2dl.dtb command and the following fragment is generated, that seems correct to me:
- i2c@021a4000 {
- #address-cells = <0x1>;
- #size-cells = <0x0>;
- compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
- reg = <0x21a4000 0x4000>;
- interrupts = <0x0 0x25 0x4>;
- clocks = <0x2 0x7e>;
- status = "okay";
- clock-frequency = <0x186a0>;
- pinctrl-names = "default";
- pinctrl-0 = <0x3d>;
- sx8654@48 {
- compatible = "semtech,sx8654";
- reg = <0x48>;
- touchrate = <0x30>;
- powdly = <0x6>;
- filt = <0x2>;
- setdly = <0x8>;
- pinctrl-names = "default";
- interrupt-parent = <0x34>;
- nterrupts = <0x1e 0x2>;
- reset-gpio = <0x34 0x1d 0x1>;
- };
- };
If I try to probe the i2c-1 bus (that I've checked being effectively mapped to i2c@021a4000) through the i2cdetect 1, the controller address won't shows up (should be 0x48):
- # i2cdetect 1
- i2cdetect: WARNING! This program can confuse your I2C bus
- Continue? [y/N] y
- 0 1 2 3 4 5 6 7 8 9 a b c d e f
- 00: -- -- -- -- -- -- -- -- -- -- -- -- --
- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
- 70: -- -- -- -- -- -- -- --
I've checked that 3.3V is delivered to the touch board (pin 1 & 6).
I've also tested the i2c port by connecting a different controller (STMPE 610), and through the i2cdetect and i2cdump / i2cget I'm able to get data from the bus, so I assume that from the armstone side, the i2c is working (same interrupts, but different i2c address, namely 0x41)
Am I missing something? Is there something else I can try?
Looking forward for your kind reply,
BR
Michele Bucceri