Commit c1282ae8 authored by Hanks Chen's avatar Hanks Chen Committed by Linus Walleij
Browse files

pinctrl: mediatek: add mt6779 eint support

parent 920e469e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -732,11 +732,19 @@ static const char * const mt6779_pinctrl_register_base_names[] = {
	"iocfg_rt", "iocfg_lt", "iocfg_tl",
};

static const struct mtk_eint_hw mt6779_eint_hw = {
	.port_mask = 7,
	.ports     = 6,
	.ap_num    = 195,
	.db_cnt    = 13,
};

static const struct mtk_pin_soc mt6779_data = {
	.reg_cal = mt6779_reg_cals,
	.pins = mtk_pins_mt6779,
	.npins = ARRAY_SIZE(mtk_pins_mt6779),
	.ngrps = ARRAY_SIZE(mtk_pins_mt6779),
	.eint_hw = &mt6779_eint_hw,
	.gpio_m = 0,
	.ies_present = true,
	.base_names = mt6779_pinctrl_register_base_names,