gpiolib: of: add polarity quirk for TSC2005

DTS for Nokia N900 incorrectly specifies "active high" polarity for
the reset line, while the chip documentation actually specifies it as
"active low". In the past the driver fudged gpiod API and inverted
the logic internally, but it was changed in d0d89493bff8.

Fixes: d0d89493bff8 ("Input: tsc2004/5 - switch to using generic device properties")
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/ZoWXwYtwgJIxi-hD@google.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by Dmitry Torokhov and committed by Bartosz Golaszewski f8d76c2c f07798d7

+8
+8
drivers/gpio/gpiolib-of.c
··· 213 213 */ 214 214 { "lantiq,pci-xway", "gpio-reset", false }, 215 215 #endif 216 + #if IS_ENABLED(CONFIG_TOUCHSCREEN_TSC2005) 217 + /* 218 + * DTS for Nokia N900 incorrectly specified "active high" 219 + * polarity for the reset line, while the chip actually 220 + * treats it as "active low". 221 + */ 222 + { "ti,tsc2005", "reset-gpios", false }, 223 + #endif 216 224 }; 217 225 unsigned int i; 218 226