]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mt8173: set GPIO16 to usb iddig mode
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 30 Nov 2016 02:21:31 +0000 (10:21 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Dec 2016 14:27:01 +0000 (15:27 +0100)
commit2d840b41b26efab9c495621e775a2f2fd89e6b5c
tree1fb2c5fd82ea77ece5c745665ba3f54155851381
parent492cf73276979c965d03ac31a440de4edc196712
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>
drivers/pinctrl/mediatek/pinctrl-mtk-mt8173.h