Skip to content

Commit

Permalink
pinctrl: mediatek: add mt6779 eint support
Browse files Browse the repository at this point in the history
add driver setting to support mt6779 eint

Signed-off-by: Mars Cheng <mars.cheng@mediatek.com>
Signed-off-by: Hanks Chen <hanks.chen@mediatek.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Link: https://lore.kernel.org/r/1595503197-15246-6-git-send-email-hanks.chen@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Hanks Chen authored and Linus Walleij committed Aug 3, 2020
1 parent 920e469 commit c1282ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/pinctrl/mediatek/pinctrl-mt6779.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c1282ae

Please sign in to comment.