device_reset() function is defined on <linux/reset.h>. I know is executed because I can see it through oscilloscope that the reset pin does a falling edge during 10ms.
I think there is a confusion. The driver that I use is an older an simpler version, is the one that I attached on the tar.gz file. I'm NOT using the linked one on github, which is the master version, because that doesn't seems to perform better (reset pin stays always high).
But as you said there is defined
#define GOODIX_GPIO_INT_NAME "irq" //Matching to string in device tree
#define GOODIX_GPIO_RST_NAME "reset" //Matching to string in device tree
and possibly that's the reason it isn't working because I'm not matching the strings? Where on the device tree do I specify these strings?
Thank you.