Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb8d8466 authored by Mars Cheng's avatar Mars Cheng Committed by Linus Walleij
Browse files

pinctrl: mediatek: add eint support to MT6765 pinctrl driver



Just add eint support to MT6765 pinctrl driver as usual as
happens on the other SoCs.

Signed-off-by: default avatarMars Cheng <mars.cheng@mediatek.com>
Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 477fecee
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1056,11 +1056,19 @@ static const char * const mt6765_pinctrl_register_base_names[] = {
	"iocfg6", "iocfg7",
};

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

static const struct mtk_pin_soc mt6765_data = {
	.reg_cal = mt6765_reg_cals,
	.pins = mtk_pins_mt6765,
	.npins = ARRAY_SIZE(mtk_pins_mt6765),
	.ngrps = ARRAY_SIZE(mtk_pins_mt6765),
	.eint_hw = &mt6765_eint_hw,
	.gpio_m = 0,
	.ies_present = true,
	.base_names = mt6765_pinctrl_register_base_names,