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.

EVK - AIO-3399J
BSP - Andriod 7.1 from firefly
Command - rk3399_firefly_aio_lvds_box_userdebug

Any suggestion on how I can enable i2c detect in BSP ?

And What changes do I need to make GT9271 work.

I guess you probably forgot to turn on the relevant config.

895816513 Posted at 8/31/2022 09:23
I guess you probably forgot to turn on the relevant config.

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

You can check whether the driver is really compiled and whether there is a corresponding. o file.

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.

Thank you for bringing such a soul-stirring piece of content! The PMI-CPMAI detailed study plan resources are excellent, and they’re available to you free of charge.