linux/drivers/pinctrl/spacemit
Junhui Liu c3b0c06b73 pinctrl: spacemit: return -ENOTSUPP for unsupported pin configurations
Return -ENOTSUPP instead of -EINVAL when encountering unsupported pin
configuration parameters. This is more logical and allows the GPIO
subsystem to gracefully handle unsupported parameters via functions like
gpio_set_config_with_argument_optional(), which specifically ignores
-ENOTSUPP but treats others as failure.

Signed-off-by: Junhui Liu <junhui.liu@pigmoral.tech>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
2026-03-19 13:52:56 +01:00
..
Kconfig pinctrl: spacemit: k3: add initial pin support 2026-01-07 15:08:13 +01:00
Makefile
pinctrl-k1.c pinctrl: spacemit: return -ENOTSUPP for unsupported pin configurations 2026-03-19 13:52:56 +01:00
pinctrl-k1.h