]> www.infradead.org Git - nvme.git/commit
gpiolib: of: add polarity quirk for TSC2005
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Jul 2024 18:26:09 +0000 (11:26 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 5 Jul 2024 09:00:45 +0000 (11:00 +0200)
commitf8d76c2c313c56d5cb894a243dff4550f048278d
tree5b0663e755c1f077196b69481e51a969cb79ecd2
parentf07798d7bb9c46d17d80103fb772fd2c75d47919
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>
drivers/gpio/gpiolib-of.c