mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:20:53 +07:00
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:
parent
85ae9e512f
commit
222ed59e8d
@ -201,7 +201,7 @@ static const struct mtk_desc_pin mtk_pins_mt8173[] = {
|
||||
MTK_PIN(
|
||||
PINCTRL_PIN(16, "IDDIG"),
|
||||
NULL, "mt8173",
|
||||
MTK_EINT_FUNCTION(0, 16),
|
||||
MTK_EINT_FUNCTION(1, 16),
|
||||
MTK_FUNCTION(0, "GPIO16"),
|
||||
MTK_FUNCTION(1, "IDDIG"),
|
||||
MTK_FUNCTION(2, "CMFLASH"),
|
||||
|
Loading…
Reference in New Issue
Block a user