diff options
author | Sam Shih <sam.shih@mediatek.com> | 2020-01-10 16:30:28 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-16 09:39:45 -0500 |
commit | cf400b63b406c1b7e51dbf30a454ea78a1ab6ee3 (patch) | |
tree | a15846cbc2b0901c2c391dea91856737758dd8c8 /drivers/pinctrl/mediatek/pinctrl-mt7623.c | |
parent | a430149c9938a66a00be7444b09837c1ec4758fd (diff) |
pinctrl: mediatek: add support for different pinctrl
Due to the pinctrl hardware of MT7622 is difference from others
SoC which using the common part of mediatek pinctrl.
So we need to modify the common part of mediatek pinctrl.
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
Diffstat (limited to 'drivers/pinctrl/mediatek/pinctrl-mt7623.c')
-rw-r--r-- | drivers/pinctrl/mediatek/pinctrl-mt7623.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt7623.c b/drivers/pinctrl/mediatek/pinctrl-mt7623.c index fd37dfa442..d58d840e08 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt7623.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt7623.c @@ -1242,6 +1242,8 @@ static struct mtk_pinctrl_soc mt7623_data = { .ngrps = ARRAY_SIZE(mt7623_groups), .funcs = mt7623_functions, .nfuncs = ARRAY_SIZE(mt7623_functions), + .gpio_mode = 0, + .rev = MTK_PINCTRL_V1, }; /* |