Title: GT9271 Interface with AIO3399J [Print This Page] Author: maneesh.singh Time: 8/30/2022 14:22 Title: GT9271 Interface with AIO3399J Hi,
I am using AIO-3399J EVK and want to connect Goodix GT9271sensors to I2C4. I did the below changes in DTS files and build the code but when I checked dmesg
log no entry for gt9721 or goodix is found.
gt9271_ts2: gt9271@5d {
compatible = "goodix,gt9271";
reg = <0x5D>;
interrupt-parent = <&gpio4>;
interrupts = <27 0>;
irq-gpios = <&gpio4 27 0>;
reset-gpios = <&gpio0 12 0>;
touchscreen-size-x = <1280>;
touchscreen-size-y = <800>;
};
Any Suggestions on what extra I need to do to make it work?
NOTE : = >
I am trying to use i2cdetect command to debug I2C issue but it gives an error saying -
i2c detect not found.
I also tried to use sudo also but sudo also not working.
I tried to use su but su also not working.
Hi,
Thanks for your response.can you suggest what config I need to do?
I did changes for GT9271 on I2C4 and using i2C detect able to see its device address.
But when I checked -
dmesg | grep i2c
dmesg | grep gt9271
dmesg | grep goodix
But no log is available for my GT9271 or goodix driver and it is not loading.
Any suggestion on what steps I need to do ?
Thanks Author: 895816513 Time: 10/11/2022 11:55
You can check whether the driver is really compiled and whether there is a corresponding. o file.Author: 895816513 Time: 10/11/2022 11:57
You can use the i2c tools tool to view the device address, but I see your information that the driver is not compiled or does not match the device tree.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)