diff options
author | 2025-04-07 09:42:01 +0200 | |
---|---|---|
committer | 2025-04-07 09:42:01 +0200 | |
commit | 8257afa5b14357bb4e0d434b34c6537f8d73757c (patch) | |
tree | f72be190f27feccf0e18b6646889b3defb791495 | |
parent | gpiolib: don't allow setting values on input lines (diff) | |
parent | gpiolib: of: Add polarity quirk for s5m8767 (diff) | |
download | wireguard-linux-8257afa5b14357bb4e0d434b34c6537f8d73757c.tar.xz wireguard-linux-8257afa5b14357bb4e0d434b34c6537f8d73757c.zip |
Merge tag 'gpio-s5m8767-polarity-quirk-for-v6.16-rc1' into gpio/for-next
gpiolib: of: Add polarity quirk for s5m8767
Diffstat (limited to '')
-rw-r--r-- | drivers/gpio/gpiolib-of.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index eb667f8f1ead..f29143c71e9d 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -222,6 +222,15 @@ static void of_gpio_try_fixup_polarity(const struct device_node *np, */ { "lantiq,pci-xway", "gpio-reset", false }, #endif +#if IS_ENABLED(CONFIG_REGULATOR_S5M8767) + /* + * According to S5M8767, the DVS and DS pin are + * active-high signals. However, exynos5250-spring.dts use + * active-low setting. + */ + { "samsung,s5m8767-pmic", "s5m8767,pmic-buck-dvs-gpios", true }, + { "samsung,s5m8767-pmic", "s5m8767,pmic-buck-ds-gpios", true }, +#endif #if IS_ENABLED(CONFIG_TOUCHSCREEN_TSC2005) /* * DTS for Nokia N900 incorrectly specified "active high" |