]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: mediatek: enable ies_present flag for MT798x
authorShiji Yang <yangshiji66@outlook.com>
Sat, 17 Jan 2026 03:04:37 +0000 (11:04 +0800)
committerLinus Walleij <linusw@kernel.org>
Tue, 27 Jan 2026 09:02:35 +0000 (10:02 +0100)
The MT798x series SoCs have IES regiter definitions. I think we
must enable the ies_present flag to correctly configure the pin
input mode.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/mediatek/pinctrl-mt7981.c
drivers/pinctrl/mediatek/pinctrl-mt7986.c
drivers/pinctrl/mediatek/pinctrl-mt7988.c

index 6216c2e057f6499b32741b6bd3a4854878c061c9..22c8f24803466f7c579db0a5e3d2bf620333cdd0 100644 (file)
@@ -1019,7 +1019,7 @@ static struct mtk_pin_soc mt7981_data = {
        .nfuncs = ARRAY_SIZE(mt7981_functions),
        .eint_hw = &mt7981_eint_hw,
        .gpio_m = 0,
-       .ies_present = false,
+       .ies_present = true,
        .base_names = mt7981_pinctrl_register_base_names,
        .nbase_names = ARRAY_SIZE(mt7981_pinctrl_register_base_names),
        .bias_disable_set = mtk_pinconf_bias_disable_set,
index 2a762ade9c35505505c932b6fea75fa0cf77d961..5dda4b7467fd086a2969ab6dd89973e3dd8d5824 100644 (file)
@@ -919,7 +919,7 @@ static struct mtk_pin_soc mt7986a_data = {
        .nfuncs = ARRAY_SIZE(mt7986_functions),
        .eint_hw = &mt7986a_eint_hw,
        .gpio_m = 0,
-       .ies_present = false,
+       .ies_present = true,
        .base_names = mt7986_pinctrl_register_base_names,
        .nbase_names = ARRAY_SIZE(mt7986_pinctrl_register_base_names),
        .bias_disable_set = mtk_pinconf_bias_disable_set,
@@ -945,7 +945,7 @@ static struct mtk_pin_soc mt7986b_data = {
        .nfuncs = ARRAY_SIZE(mt7986_functions),
        .eint_hw = &mt7986b_eint_hw,
        .gpio_m = 0,
-       .ies_present = false,
+       .ies_present = true,
        .base_names = mt7986_pinctrl_register_base_names,
        .nbase_names = ARRAY_SIZE(mt7986_pinctrl_register_base_names),
        .bias_disable_set = mtk_pinconf_bias_disable_set,
index 9569e8c0cec15fb6a4a8e359d6483fa163487b0c..fd3a7ff0a04d26a516e864aaed32bd719e56e45a 100644 (file)
@@ -1505,7 +1505,7 @@ static const struct mtk_pin_soc mt7988_data = {
        .nfuncs = ARRAY_SIZE(mt7988_functions),
        .eint_hw = &mt7988_eint_hw,
        .gpio_m = 0,
-       .ies_present = false,
+       .ies_present = true,
        .base_names = mt7988_pinctrl_register_base_names,
        .nbase_names = ARRAY_SIZE(mt7988_pinctrl_register_base_names),
        .bias_disable_set = mtk_pinconf_bias_disable_set,