I am interfacing TSC2004 touch screen controller with imx6q. I have compiled the image using build root and able to communicate with controller using i2c. interrupt of the controller is mapped to GPIO, i have specified the same in dtb file.
but when probe function is executed it calls "of_get_named_gpio_flags" which return with -2. The same value is passed to "gpio_is_valid" function further which in turn return error.
Any help would be appreciated.