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: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Chunfeng Yun 2016-11-30 10:21:31 +08:00 committed by Linus Walleij
parent 85ae9e512f
commit 222ed59e8d
1 changed files with 1 additions and 1 deletions

View File

@ -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"),