Skip to content

Commit 6da9f0c

Browse files
DragonBlueplinusw
authored andcommitted
pinctrl: mediatek: enable ies_present flag for MT798x
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>
1 parent 8ecfc7d commit 6da9f0c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/pinctrl/mediatek/pinctrl-mt7981.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ static struct mtk_pin_soc mt7981_data = {
10191019
.nfuncs = ARRAY_SIZE(mt7981_functions),
10201020
.eint_hw = &mt7981_eint_hw,
10211021
.gpio_m = 0,
1022-
.ies_present = false,
1022+
.ies_present = true,
10231023
.base_names = mt7981_pinctrl_register_base_names,
10241024
.nbase_names = ARRAY_SIZE(mt7981_pinctrl_register_base_names),
10251025
.bias_disable_set = mtk_pinconf_bias_disable_set,

drivers/pinctrl/mediatek/pinctrl-mt7986.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ static struct mtk_pin_soc mt7986a_data = {
919919
.nfuncs = ARRAY_SIZE(mt7986_functions),
920920
.eint_hw = &mt7986a_eint_hw,
921921
.gpio_m = 0,
922-
.ies_present = false,
922+
.ies_present = true,
923923
.base_names = mt7986_pinctrl_register_base_names,
924924
.nbase_names = ARRAY_SIZE(mt7986_pinctrl_register_base_names),
925925
.bias_disable_set = mtk_pinconf_bias_disable_set,
@@ -945,7 +945,7 @@ static struct mtk_pin_soc mt7986b_data = {
945945
.nfuncs = ARRAY_SIZE(mt7986_functions),
946946
.eint_hw = &mt7986b_eint_hw,
947947
.gpio_m = 0,
948-
.ies_present = false,
948+
.ies_present = true,
949949
.base_names = mt7986_pinctrl_register_base_names,
950950
.nbase_names = ARRAY_SIZE(mt7986_pinctrl_register_base_names),
951951
.bias_disable_set = mtk_pinconf_bias_disable_set,

drivers/pinctrl/mediatek/pinctrl-mt7988.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ static const struct mtk_pin_soc mt7988_data = {
15051505
.nfuncs = ARRAY_SIZE(mt7988_functions),
15061506
.eint_hw = &mt7988_eint_hw,
15071507
.gpio_m = 0,
1508-
.ies_present = false,
1508+
.ies_present = true,
15091509
.base_names = mt7988_pinctrl_register_base_names,
15101510
.nbase_names = ARRAY_SIZE(mt7988_pinctrl_register_base_names),
15111511
.bias_disable_set = mtk_pinconf_bias_disable_set,

0 commit comments

Comments
 (0)