URGENT HELP IS NEEDED. THANKS IN ADVANCE !!
Verdin iMX8M Mini Quad 2GB/16GB WL/BT IT V 1.1A
BSP Linux 5.4.0
Custom Carrier Board
Trying to integrate Goodix GT911 based 5.5" touchschreen. Kernel module goodix.ko
is built error free. But does not load.
root@verdin-imx8mm-06902306:~# dmesg | grep Goodix
[ 4.424995] Goodix-TS 3-005d: 3-005d supply AVDD28 not found, using dummy regulator
[ 4.438729] Goodix-TS 3-005d: 3-005d supply VDDIO not found, using dummy regulator
[ 4.549376] Goodix-TS 3-005d: i2c test failed attempt 1: -6
[ 4.585330] Goodix-TS 3-005d: i2c test failed attempt 2: -6
[ 4.613082] Goodix-TS 3-005d: I2C communication failure: -6
Device tree is as given below.
&i2c4 {
touchscreen@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
pinctrl-names = "default";
// pinctrl-0 = pinctrl_i2c>;
interrupt-parent = <&gpio3>;
interrupts = <0 0>;
reset-gpios = <&gpio3 12 1>;
irq-gpios = <&gpio3 13 1>;
touchscreen-size-x = <1080>;
touchscreen-size-y = <1920>;
// AVDD28-supply = <®_2v8_p>;
// VDDIO-supply = <®_1v8_p>;
status = "okay";
};
};
If I uncomment the AVDD28-supply and VDDIO-supply, then the board does not boot. It halts with the following error.
ERROR: Did not find a cmdline Flattened Device Tree
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###
In our custom board, we have connected the touchscreen to i2c4 thru a level translator IC.
Thanks and regards
Partha