Skip to content

Commit c1282ae

Browse files
Hanks-Chenlinusw
authored andcommitted
pinctrl: mediatek: add mt6779 eint support
add driver setting to support mt6779 eint Signed-off-by: Mars Cheng <[email protected]> Signed-off-by: Hanks Chen <[email protected]> Acked-by: Sean Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 920e469 commit c1282ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/pinctrl/mediatek/pinctrl-mt6779.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,11 +732,19 @@ static const char * const mt6779_pinctrl_register_base_names[] = {
732732
"iocfg_rt", "iocfg_lt", "iocfg_tl",
733733
};
734734

735+
static const struct mtk_eint_hw mt6779_eint_hw = {
736+
.port_mask = 7,
737+
.ports = 6,
738+
.ap_num = 195,
739+
.db_cnt = 13,
740+
};
741+
735742
static const struct mtk_pin_soc mt6779_data = {
736743
.reg_cal = mt6779_reg_cals,
737744
.pins = mtk_pins_mt6779,
738745
.npins = ARRAY_SIZE(mtk_pins_mt6779),
739746
.ngrps = ARRAY_SIZE(mtk_pins_mt6779),
747+
.eint_hw = &mt6779_eint_hw,
740748
.gpio_m = 0,
741749
.ies_present = true,
742750
.base_names = mt6779_pinctrl_register_base_names,

0 commit comments

Comments
 (0)