Commit 222ed59e authored by Chunfeng Yun's avatar Chunfeng Yun Committed by Linus Walleij

pinctrl: mt8173: set GPIO16 to usb iddig mode

the default mode of GPIO16 pin is gpio, when set EINT16 to
IRQ_TYPE_LEVEL_HIGH, no interrupt is triggered, it can be
fixed when set its default mode as usb iddig.
Signed-off-by: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: default avatarHongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 85ae9e51
...@@ -201,7 +201,7 @@ static const struct mtk_desc_pin mtk_pins_mt8173[] = { ...@@ -201,7 +201,7 @@ static const struct mtk_desc_pin mtk_pins_mt8173[] = {
MTK_PIN( MTK_PIN(
PINCTRL_PIN(16, "IDDIG"), PINCTRL_PIN(16, "IDDIG"),
NULL, "mt8173", NULL, "mt8173",
MTK_EINT_FUNCTION(0, 16), MTK_EINT_FUNCTION(1, 16),
MTK_FUNCTION(0, "GPIO16"), MTK_FUNCTION(0, "GPIO16"),
MTK_FUNCTION(1, "IDDIG"), MTK_FUNCTION(1, "IDDIG"),
MTK_FUNCTION(2, "CMFLASH"), MTK_FUNCTION(2, "CMFLASH"),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment