]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpiolib: of: Add polarity quirk for s5m8767
authorPeng Fan <peng.fan@nxp.com>
Thu, 27 Mar 2025 00:49:44 +0000 (08:49 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:33:29 +0000 (09:33 +0200)
commit4e310626eb4df52a31a142c1360fead0fcbd3793
tree5d6b10ead3d6ac2a3baf4d9ff226fae8ef627765
parent0af2f6be1b4281385b618cb86ad946eded089ac8
gpiolib: of: Add polarity quirk for s5m8767

This is prepare patch for switching s5m8767 regulator driver to
use GPIO descriptor. DTS for exynos5250 spring incorrectly specifies
"active low" polarity for the DVS and DS line. But per datasheet,
they are actually active high. So add polarity quirk for it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250327004945.563765-1-peng.fan@oss.nxp.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-of.c