]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mtk: Fix low level output voltage issue
authorZhiyong Tao <zhiyong.tao@mediatek.com>
Fri, 20 Nov 2020 09:30:58 +0000 (17:30 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 4 Dec 2020 08:43:51 +0000 (09:43 +0100)
commit2069ae78ce71cde1d7649d3dc379d015595b6f4a
tree7c3c5320bdbc057f0f0219ff553b0e6e52798a37
parentc41a848d8f111b20ec8986c9937a12a00ec94a7e
pinctrl: mtk: Fix low level output voltage issue

This patch is used to fix low level output voltage issue.
A pin is changed from input pull-up to output high.
The Dout value of the pin is default as 0.
If we change the direction of the pin before the dout value of the pin,
It maybe produce a low level output voltage between "input pull-up" and
"output high".

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Link: https://lore.kernel.org/r/20201120093058.7248-2-zhiyong.tao@mediatek.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-paris.c