AnsweredAssumed Answered

of_get_named_gpio_flags returns with -2 status

Question asked by surajkumar mokhasi on Aug 22, 2017
Latest reply on Aug 23, 2017 by surajkumar mokhasi

Hi,

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.

Outcomes