diff options
author | Hanks Chen <hanks.chen@mediatek.com> | 2020-07-23 14:19:55 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-08-04 02:29:10 +0300 |
commit | c1282ae87882aff2a1adbc8d168c8fb3391d288a (patch) | |
tree | 621c1c749c6d5687e4c80d8e22eb4b0d0d28df23 /drivers | |
parent | 920e469e15c820a432c8dc21f7c5221f9dfdf716 (diff) | |
download | linux-c1282ae87882aff2a1adbc8d168c8fb3391d288a.tar.xz |
pinctrl: mediatek: add mt6779 eint support
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-mt6779.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6779.c b/drivers/pinctrl/mediatek/pinctrl-mt6779.c index ede185b58d41..bb0851c73304 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt6779.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt6779.c @@ -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, |