|
【Android】
GT9271 Interface with AIO3399J
Posted at 8/30/2022 14:22:39
View:2311
|
Replies:4
Print
Only Author
[Copy Link]
1#
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.
|
|